From 5b7b4013462434a55e682b970f13a78120d1e16a Mon Sep 17 00:00:00 2001 From: Cedric Date: Thu, 19 Oct 2023 12:30:35 +0100 Subject: [PATCH] Randomize name to avoid contention on 'idx_jobs_name' (#11005) --- core/cmd/jobs_commands_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/cmd/jobs_commands_test.go b/core/cmd/jobs_commands_test.go index 57489ccb0f4..acb5731b785 100644 --- a/core/cmd/jobs_commands_test.go +++ b/core/cmd/jobs_commands_test.go @@ -299,7 +299,7 @@ const directRequestSpecTemplate = ` type = "directrequest" schemaVersion = 1 evmChainID = "0" -name = "example eth request event spec" +name = "%s" contractAddress = "0x613a38AC1659769640aaE063C651F48E0250454C" externalJobID = "%s" observationSource = """ @@ -312,7 +312,7 @@ observationSource = """ ` func getDirectRequestSpec() string { - return fmt.Sprintf(directRequestSpecTemplate, uuid.New()) + return fmt.Sprintf(directRequestSpecTemplate, uuid.New(), uuid.New()) } func TestShell_ListFindJobs(t *testing.T) {