Skip to content

Commit c6f7a7e

Browse files
authored
bmh: fix test for delete and wait (#426)
Same issue as in #420, the `DeleteAndWaitUntilDeleted` test will occasionally fail.
1 parent 9bfc7a8 commit c6f7a7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/bmh/baremetalhost_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ func TestBareMetalHostDeleteAndWaitUntilDeleted(t *testing.T) {
952952
}
953953

954954
for _, testCase := range testCases {
955-
builder, err := testCase.testBmHost.DeleteAndWaitUntilDeleted(1 * time.Second)
955+
builder, err := testCase.testBmHost.DeleteAndWaitUntilDeleted(2 * time.Second)
956956
assert.Equal(t, testCase.expectedError, err)
957957

958958
if testCase.expectedError == nil {

0 commit comments

Comments
 (0)