diff options
Diffstat (limited to 'runsc')
-rw-r--r-- | runsc/container/multi_container_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runsc/container/multi_container_test.go b/runsc/container/multi_container_test.go index ab200b75c..d23d36c37 100644 --- a/runsc/container/multi_container_test.go +++ b/runsc/container/multi_container_test.go @@ -568,7 +568,8 @@ func TestMultiContainerKillAll(t *testing.T) { if _, err := containers[1].Execute(args); err != nil { t.Fatalf("error exec'ing: %v", err) } - procCount += 3 + // Wait for these new processes to start. + procCount += int(math.Pow(2, 3) - 1) if err := waitForProcessCount(containers[1], procCount); err != nil { t.Fatal(err) } |