diff options
author | Vladimir Shushlin <v.shushlin@gmail.com> | 2021-12-21 16:18:09 +0300 |
---|---|---|
committer | Vladimir Shushlin <v.shushlin@gmail.com> | 2021-12-21 16:18:09 +0300 |
commit | 8985ee41c0fbeba58e2d67c7b53bf1719219810e (patch) | |
tree | f5f9a765eb86b89e07fc85c4380c7c205d322dcf | |
parent | 42c621418d3e909916fc9bba57ebbc00ebf5e6fd (diff) |
fix: wait for process to exit in acceptance tests
-rw-r--r-- | test/acceptance/helpers_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/acceptance/helpers_test.go b/test/acceptance/helpers_test.go index 769b0467..5fae1349 100644 --- a/test/acceptance/helpers_test.go +++ b/test/acceptance/helpers_test.go @@ -301,6 +301,7 @@ func runPagesProcess(t *testing.T, wait bool, pagesBinary string, listeners []Li cleanup := func() { cmd.Process.Signal(os.Interrupt) + cmd.Process.Wait() <-waitCh } |