From f6ea7dc525aec0b38e91c2555c7597a335a59e7d Mon Sep 17 00:00:00 2001 From: porosnicuadrian Date: Fri, 2 Apr 2021 12:38:46 +0300 Subject: [PATCH] Fixed integration test --- apier/v1/ees_it_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apier/v1/ees_it_test.go b/apier/v1/ees_it_test.go index 84fc95737..786fc093e 100644 --- a/apier/v1/ees_it_test.go +++ b/apier/v1/ees_it_test.go @@ -210,7 +210,6 @@ func testEEsExportCDRs(t *testing.T) { if v != 4.04 { t.Errorf("Expected %+v, received: %+v", 4.04, v) } - } } } @@ -283,7 +282,7 @@ func testEEsExportCDRsMultipleExporters(t *testing.T) { } func testEEsVerifyExportsMultipleExporters(t *testing.T) { - time.Sleep(time.Second) + time.Sleep(time.Second + 600*time.Millisecond) var files []string err := filepath.Walk("/tmp/testCSV2/", func(path string, info os.FileInfo, err error) error { if strings.HasSuffix(path, utils.CSVSuffix) {