From 7ba004b5b8b9f78fbe015db5237aaa22cf15e077 Mon Sep 17 00:00:00 2001 From: Amir Malka Date: Sun, 4 Feb 2024 18:23:18 +0200 Subject: [PATCH] increase sleep in test Signed-off-by: Amir Malka --- core/synchronizer_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/synchronizer_integration_test.go b/core/synchronizer_integration_test.go index c929b37..0b400e8 100644 --- a/core/synchronizer_integration_test.go +++ b/core/synchronizer_integration_test.go @@ -987,7 +987,7 @@ func TestSynchronizer_TC08(t *testing.T) { // add applicationprofile to k8s _, err = td.clusters[0].storageclient.ApplicationProfiles(namespace).Create(context.TODO(), td.clusters[0].applicationprofile, metav1.CreateOptions{}) require.NoError(t, err) - time.Sleep(15 * time.Second) + time.Sleep(20 * time.Second) // check object in postgres _, objFound, err := td.processor.GetObjectFromPostgres(td.clusters[0].account, td.clusters[0].cluster, "spdx.softwarecomposition.kubescape.io/v1beta1/applicationprofiles", namespace, name) assert.NoError(t, err)