From d1a9f8be2f222ea30bdf7182aaa6428bfa605cf7 Mon Sep 17 00:00:00 2001 From: Nour Elrashidy Date: Mon, 13 Jan 2025 19:04:48 +0100 Subject: [PATCH] Fix LBTC flakey test (#15906) --- core/services/ocr2/plugins/ccip/tokendata/lbtc/lbtc_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/services/ocr2/plugins/ccip/tokendata/lbtc/lbtc_test.go b/core/services/ocr2/plugins/ccip/tokendata/lbtc/lbtc_test.go index 375bb62aaeb..8a3f02c289e 100644 --- a/core/services/ocr2/plugins/ccip/tokendata/lbtc/lbtc_test.go +++ b/core/services/ocr2/plugins/ccip/tokendata/lbtc/lbtc_test.go @@ -285,7 +285,9 @@ func TestLBTCReader_rateLimiting(t *testing.T) { }, }, 0) - errorChan <- err + if err != nil { + errorChan <- err + } }() }