mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 05:21:33 +00:00
fix race in module api test for fork
in some cases we were trying to kill the fork before it got created
This commit is contained in:
@ -20,9 +20,8 @@ start_server {tags {"modules"}} {
|
||||
|
||||
test {Module fork kill} {
|
||||
r fork.create 3
|
||||
after 20
|
||||
after 250
|
||||
r fork.kill
|
||||
after 100
|
||||
|
||||
assert {[count_log_message "fork child started"] eq "2"}
|
||||
assert {[count_log_message "Received SIGUSR1 in child"] eq "1"}
|
||||
|
Reference in New Issue
Block a user