redict/tests/integration
Mikhail Fesenko 1eb4baa5b8
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>
2021-07-07 08:26:26 +03:00
..
aof-race.tcl TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00
aof.tcl cleanup around loadAppendOnlyFile (#9012) 2021-06-14 10:38:08 +03:00
block-repl.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
convert-zipmap-hash-on-load.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
corrupt-dump-fuzzer.tcl Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
corrupt-dump.tcl Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
failover.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
logging.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
psync2-pingoff.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
psync2-reg.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
psync2.tcl Fix timing issue in psync2 test. (#9159) 2021-06-30 09:18:10 +03:00
rdb.tcl solve test timing issues in replication tests (#9121) 2021-06-22 11:10:11 +03:00
redis-benchmark.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
redis-cli.tcl Direct redis-cli repl prints to stderr, because --rdb can print to stdout. fflush stdout after responses (#9136) 2021-07-07 08:26:26 +03:00
replication-2.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
replication-3.tcl solve test timing issues in replication tests (#9121) 2021-06-22 11:10:11 +03:00
replication-4.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
replication-psync.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
replication.tcl solve test timing issues in replication tests (#9121) 2021-06-22 11:10:11 +03:00