read-redis/tests
Huang Zhw a19c4058be
When tests exit normally, some processes may still be alive (#8647)
In certain scenario start_server may think it failed to start a redis server
although it started successfully. in these cases, it'll not terminate it, and
it'll remain running when the test is over.

In start_server if config doesn't have bind (the minimal.conf in introspection.tcl),
it will try to bind ipv4 and ipv6. One may success while other fails. It will
output "Could not create server TCP listening socket".
wait_server_started uses this message to check whether instance started
successfully. So it will consider that it failed even though redis started successfully.

Additionally, in some cases it wasn't clear to users why the server exited,
since the warning message printed to the log, could in some cases be harmless,
and in some cases fatal.

This PR adds makes a clear distinction between a warning log message and
a fatal one, and changes the test suite to look for the fatal message.
2021-03-16 17:25:30 +02:00
..
assets Sanitize dump payload: ziplist, listpack, zipmap, intset, stream 2020-12-06 14:54:34 +02:00
cluster Optimize CLUSTER SLOTS reply by reducing unneeded loops (#8541) 2021-03-11 22:40:35 -08:00
helpers revert an accidental test code change done as part of the tls project 2019-12-01 16:10:09 +02:00
integration Improve redis-cli non-binary safe string handling. (#8566) 2021-03-04 15:03:49 +02:00
modules Fix some memory leaks in propagagte.c (#8636) 2021-03-11 13:50:13 +02:00
sentinel Fix errors with sentinel leaked fds test. (#8482) 2021-02-11 15:25:01 +02:00
support When tests exit normally, some processes may still be alive (#8647) 2021-03-16 17:25:30 +02:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit Redact slowlog entries for config with sensitive data. (#8584) 2021-03-15 22:00:29 -07:00
instances.tcl Allow stopped redis processes to be killed in tests (#8552) 2021-02-24 14:26:16 -08:00
test_helper.tcl Make port, tls-port and bind configurations modifiable (#8510) 2021-03-01 16:04:44 +02:00