Skip to content

Commit

Permalink
Add timeout to ExpectWorkloadsToBePending
Browse files Browse the repository at this point in the history
Change-Id: I63dba655be4ec8b665c54e4b2a6c03f7a5f109ae
  • Loading branch information
alculquicondor committed Apr 8, 2022
1 parent a76a3fb commit d6d4896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/framework/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func ExpectWorkloadsToBePending(ctx context.Context, k8sClient client.Client, wl
}
}
return pending
}).Should(gomega.Equal(len(wls)), "Not enough workloads are pending")
}, Timeout, Interval).Should(gomega.Equal(len(wls)), "Not enough workloads are pending")
}

func UpdateWorkloadStatus(ctx context.Context, k8sClient client.Client, wl *kueue.Workload, update func(*kueue.Workload)) {
Expand Down

0 comments on commit d6d4896

Please sign in to comment.