Make flaky 'TestTest_DoubleInterrupt' test more robust (#33503)

This commit is contained in:
Liam Cervante 2023-07-11 11:35:26 +02:00 committed by GitHub
parent 19a8850748
commit 87ed762619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}