Skip to content

Commit

Permalink
add wait for test stability
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Apr 25, 2024
1 parent 9bad0bb commit 0c345f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/e2e.t
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ subtest "path-migration" => sub {
# kill the peers
kill 'TERM', $pid;
while (waitpid($pid, 0) != $pid) {}
sleep 0.5; # wait for server-side to close and emit stats
my $server_output = $server_guard->finalize;
# read the log
my $log = slurp_file("$tempdir/events");
Expand Down

0 comments on commit 0c345f2

Please sign in to comment.