From 87ed762619d3d5b0bbc802ec66f6191cbe30bc38 Mon Sep 17 00:00:00 2001 From: Liam Cervante Date: Tue, 11 Jul 2023 11:35:26 +0200 Subject: [PATCH] Make flaky 'TestTest_DoubleInterrupt' test more robust (#33503) --- internal/command/test_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/command/test_test.go b/internal/command/test_test.go index 2baf5ce472..56c04a3e67 100644 --- a/internal/command/test_test.go +++ b/internal/command/test_test.go @@ -191,7 +191,7 @@ func TestTest_DoubleInterrupt(t *testing.T) { c.Run(nil) output := done(t).All() - if !strings.Contains(output, "Terraform Test Interrupted") { + if !strings.Contains(output, "Two interrupts received") { t.Errorf("output didn't produce the right output:\n\n%s", output) }