From db5f92ec3758a235ea617efeed835729c1fcd035 Mon Sep 17 00:00:00 2001 From: attiasas Date: Mon, 27 Nov 2023 13:38:38 +0200 Subject: [PATCH] Fix Flaky Lifecycle tests --- 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) {