Skip to content

Commit 0843e33

Browse files
authored
Added wait time befoew querrying vm images (#3612)
1 parent 7fc70af commit 0843e33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/e2e/vmservice_utils.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ func invokeVCRestAPIDeleteRequest(vcRestSessionId string, url string) ([]byte, i
361361
// waitNGetVmiForImageName waits and fetches VM image CR for given image name in the specified namespace
362362
func waitNGetVmiForImageName(ctx context.Context, c ctlrclient.Client, imageName string) string {
363363
vmi := ""
364+
time.Sleep(pollTimeoutShort)
364365
err := wait.PollUntilContextTimeout(ctx, poll*5, pollTimeout, true,
365366
func(ctx context.Context) (bool, error) {
366367
vmImagesList := &vmopv1.VirtualMachineImageList{}

0 commit comments

Comments
 (0)