Skip to content

Commit

Permalink
fix sporadic timeout error for core_test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit-0505 committed Dec 5, 2024
1 parent 23d9ac0 commit 9935eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var _ = Describe("Core", func() {

By("waiting for the resource quota to be updated")
resourceQuotaKey := client.ObjectKeyFromObject(resourceQuota)
Eventually(func(g Gomega) {
Eventually(ctx, func(g Gomega) {
Expect(k8sClient.Get(ctx, resourceQuotaKey, resourceQuota)).To(Succeed())
g.Expect(resourceQuota.Status.Used).To(Equal(corev1alpha1.ResourceList{
corev1alpha1.ResourceRequestsCPU: resource.MustParse("1"),
Expand Down

0 comments on commit 9935eb0

Please sign in to comment.