From 60e86aae3f5f4325c2e39a7d65b457c54f37f711 Mon Sep 17 00:00:00 2001 From: amirylm Date: Tue, 26 Mar 2024 15:34:32 +0200 Subject: [PATCH] small fixes in int test --- .../services/ocr2/plugins/ocr2keeper/integration_21_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/services/ocr2/plugins/ocr2keeper/integration_21_test.go b/core/services/ocr2/plugins/ocr2keeper/integration_21_test.go index 9e37b695553..8f5fbc99f9a 100644 --- a/core/services/ocr2/plugins/ocr2keeper/integration_21_test.go +++ b/core/services/ocr2/plugins/ocr2keeper/integration_21_test.go @@ -255,8 +255,8 @@ func TestIntegration_KeeperPluginLogUpkeep(t *testing.T) { t.Logf("Mined %d blocks, waiting for logs to be recovered", dummyBlocks) listener, done := listenPerformedN(t, backend, registry, ids, int64(beforeDummyBlocks), recoverEmits) + defer done() g.Eventually(listener, testutils.WaitTimeout(t), cltest.DBPollingInterval).Should(gomega.BeTrue()) - done() }) } @@ -421,6 +421,10 @@ func TestIntegration_KeeperPluginLogUpkeep_ErrHandler(t *testing.T) { http.StatusUnauthorized, http.StatusBadRequest, http.StatusInternalServerError, + http.StatusNotFound, + http.StatusNotFound, + http.StatusNotFound, + http.StatusUnauthorized, } startMercuryServer(t, mercuryServer, func(i int) (int, []byte) { var resp int