Skip to content

Commit

Permalink
bmh: fix test for delete and wait (#426)
Browse files Browse the repository at this point in the history
Same issue as in #420, the `DeleteAndWaitUntilDeleted` test will occasionally fail.
  • Loading branch information
klaskosk authored May 14, 2024
1 parent 9bfc7a8 commit c6f7a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/bmh/baremetalhost_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c6f7a7e

Please sign in to comment.