diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2021-12-22 01:03:51 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2021-12-22 01:03:51 +0300 |
commit | 5e488dfd5d56127c0721c974f89319a0aedec439 (patch) | |
tree | f5f9a765eb86b89e07fc85c4380c7c205d322dcf | |
parent | 42c621418d3e909916fc9bba57ebbc00ebf5e6fd (diff) | |
parent | 8985ee41c0fbeba58e2d67c7b53bf1719219810e (diff) |
Merge branch 'wait-for-exit' into 'master'
fix: wait for process to exit in acceptance tests
See merge request gitlab-org/gitlab-pages!651
-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 } |