valkey/tests
Mikhail Fesenko 8884971223 Direct redis-cli repl prints to stderr, because --rdb can print to stdout. fflush stdout after responses (#9136)
1. redis-cli can output --rdb data to stdout
   but redis-cli also write some messages to stdout which will mess up the rdb.

2. Make redis-cli flush stdout when printing a reply
  This was needed in order to fix a hung in redis-cli test that uses
  --replica.
   Note that printf does flush when there's a newline, but fwrite does not.

3. fix the redis-cli --replica test which used to pass previously
   because it didn't really care what it read, and because redis-cli
   used printf to print these other things to stdout.

4. improve redis-cli --replica test to run with both diskless and disk-based.

Co-authored-by: Oran Agra <oran@redislabs.com>
Co-authored-by: Viktor Söderqvist <viktor@zuiderkwast.se>
(cherry picked from commit 1eb4baa5b8)
2021-07-21 21:06:49 +03:00
..
assets ACL channels permission handling for save/load scenario. (#8794) 2021-04-19 13:27:44 +03:00
cluster Revert cluster slot migration tests. (#8806) 2021-04-18 20:51:08 +03:00
helpers stabilize tests that involved with load handlers (#8967) 2021-07-21 21:06:49 +03:00
integration Direct redis-cli repl prints to stderr, because --rdb can print to stdout. fflush stdout after responses (#9136) 2021-07-21 21:06:49 +03:00
modules modules: Add newlen == 0 handling to RM_StringTruncate (#3717) (#3718) 2021-07-21 21:06:49 +03:00
sentinel Solve sentinel test issue in TLS due to recent tests change. (#8728) 2021-04-01 09:44:44 +03:00
support Test infra, handle RESP3 attributes and big-numbers and bools (#9235) 2021-07-21 21:06:49 +03:00
tmp
unit Test infra, handle RESP3 attributes and big-numbers and bools (#9235) 2021-07-21 21:06:49 +03:00
instances.tcl Solve sentinel test issue in TLS due to recent tests change. (#8728) 2021-04-01 09:44:44 +03:00
test_helper.tcl Make port, tls-port and bind configurations modifiable (#8510) 2021-03-01 16:04:44 +02:00