Skip to content

Commit

Permalink
Fix sporadic timeout error for core_test (#1179)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit-0505 authored Dec 6, 2024
1 parent 23d9ac0 commit fe0f78a
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 fe0f78a

Please sign in to comment.