Fix flaky test

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
This commit is contained in:
Matheus Pimenta 2025-05-27 09:24:01 +01:00
parent 36e0d0dfca
commit 71aa99e934
No known key found for this signature in database
GPG Key ID: DE594AAD698A94DE
1 changed files with 0 additions and 1 deletions

View File

@ -3070,7 +3070,6 @@ func TestOCIRepository_objectLevelWorkloadIdentityFeatureGate(t *testing.T) {
return testEnv.Update(ctx, resultobj) == nil
}).Should(BeTrue())
g.Expect(testEnv.Update(ctx, resultobj)).To(Succeed())
g.Eventually(func() bool {
if err := testEnv.Get(ctx, key, resultobj); err != nil {
return false