diff --git a/terraform/context_apply_test.go b/terraform/context_apply_test.go index 0ad2f3148d..afe2f85a71 100644 --- a/terraform/context_apply_test.go +++ b/terraform/context_apply_test.go @@ -1740,6 +1740,7 @@ func TestContext2Apply_cancel(t *testing.T) { if ctx.sh.Stopped() { break } + time.Sleep(10 * time.Millisecond) } }