From c6f7a7e7c45e777f1ecf316b87c02ac613ae03d3 Mon Sep 17 00:00:00 2001 From: Kirsten Laskoski <162511147+klaskosk@users.noreply.github.com> Date: Tue, 14 May 2024 13:56:02 -0400 Subject: [PATCH] bmh: fix test for delete and wait (#426) Same issue as in #420, the `DeleteAndWaitUntilDeleted` test will occasionally fail. --- pkg/bmh/baremetalhost_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bmh/baremetalhost_test.go b/pkg/bmh/baremetalhost_test.go index 9823ea646..3420f2ba1 100644 --- a/pkg/bmh/baremetalhost_test.go +++ b/pkg/bmh/baremetalhost_test.go @@ -952,7 +952,7 @@ func TestBareMetalHostDeleteAndWaitUntilDeleted(t *testing.T) { } for _, testCase := range testCases { - builder, err := testCase.testBmHost.DeleteAndWaitUntilDeleted(1 * time.Second) + builder, err := testCase.testBmHost.DeleteAndWaitUntilDeleted(2 * time.Second) assert.Equal(t, testCase.expectedError, err) if testCase.expectedError == nil {