From 0fe0702168e096ad041521da6c0ff7aee7b8fa0e Mon Sep 17 00:00:00 2001 From: Assaf Attias <49212512+attiasas@users.noreply.github.com> Date: Tue, 28 Nov 2023 11:54:05 +0200 Subject: [PATCH] Fix Flaky Lifecycle tests (#2329) --- lifecycle_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lifecycle_test.go b/lifecycle_test.go index 16fc61248..719834409 100644 --- a/lifecycle_test.go +++ b/lifecycle_test.go @@ -192,6 +192,8 @@ func deleteReleaseBundle(t *testing.T, lcManager *lifecycle.LifecycleServicesMan } assert.NoError(t, lcManager.DeleteReleaseBundle(rbDetails, services.ReleaseBundleQueryParams{Async: false})) + // Wait after remote deleting. Can be removed once remote deleting supports sync. + time.Sleep(5 * time.Second) } func remoteDeleteReleaseBundle(t *testing.T, lcManager *lifecycle.LifecycleServicesManager, rbName, rbVersion string) {