diff options
author | Oran Agra <oran@redislabs.com> | 2022-11-12 20:35:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-12 20:35:34 +0200 |
commit | 4c54528f0fb56dec1373ead376a017b59743b04e (patch) | |
tree | 58e6296c26cfb103e29b831f962d097d9414e3db /tests/integration | |
parent | 6617f1704ba9ce6d119c033c10cbe1450f0eeedf (diff) | |
download | redis-4c54528f0fb56dec1373ead376a017b59743b04e.tar.gz |
fixes for fork child exit and test: #11463 (#11499)
Fix a few issues with the recent #11463
* use exitFromChild instead of exit
* test should ignore defunct process since that's what we expect to
happen for thees child processes when the parent dies.
* fix typo
Co-authored-by: Binbin <binloveplay1314@qq.com>
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/replication.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/replication.tcl b/tests/integration/replication.tcl index 617b9f78e..4867b5afd 100644 --- a/tests/integration/replication.tcl +++ b/tests/integration/replication.tcl @@ -1013,7 +1013,7 @@ test "diskless replication child being killed is collected" { } {} {external:skip} foreach mdl {yes no} { - test "replication dies when parent is killed - diskless: $mdl" { + test "replication child dies when parent is killed - diskless: $mdl" { # when master is killed, make sure the fork child can detect that and exit start_server {tags {"repl"}} { set master [srv 0 client] |