From 0ceb9b5fc67199b850d16b6a5ab1848327e91a5b Mon Sep 17 00:00:00 2001 From: Vyzaldy Sanchez Date: Mon, 19 Aug 2024 14:34:36 -0400 Subject: [PATCH] Fix test flake on registry syncer (#14148) * Fixes test flake * Adds changeset * Fixes readme --- .changeset/big-students-rush.md | 5 +++++ core/services/registrysyncer/syncer_test.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/big-students-rush.md diff --git a/.changeset/big-students-rush.md b/.changeset/big-students-rush.md new file mode 100644 index 00000000000..914205cdf7c --- /dev/null +++ b/.changeset/big-students-rush.md @@ -0,0 +1,5 @@ +--- +"chainlink": patch +--- + +#bugfix Fixes test flake diff --git a/core/services/registrysyncer/syncer_test.go b/core/services/registrysyncer/syncer_test.go index 2c08a1cdde6..9e51b7498f0 100644 --- a/core/services/registrysyncer/syncer_test.go +++ b/core/services/registrysyncer/syncer_test.go @@ -455,7 +455,7 @@ func TestSyncer_DBIntegration(t *testing.T) { syncer.AddLauncher(l) var latestLocalRegistryCalled, addLocalRegistryCalled bool - timeout := time.After(500 * time.Millisecond) + timeout := time.After(testutils.WaitTimeout(t)) for !latestLocalRegistryCalled || !addLocalRegistryCalled { select {