Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Shushlin <v.shushlin@gmail.com>2021-12-21 16:18:09 +0300
committerVladimir Shushlin <v.shushlin@gmail.com>2021-12-21 16:18:09 +0300
commit8985ee41c0fbeba58e2d67c7b53bf1719219810e (patch)
treef5f9a765eb86b89e07fc85c4380c7c205d322dcf
parent42c621418d3e909916fc9bba57ebbc00ebf5e6fd (diff)
fix: wait for process to exit in acceptance tests
-rw-r--r--test/acceptance/helpers_test.go1
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
}