Skip to content

Commit

Permalink
Randomize name to avoid contention on 'idx_jobs_name' (#11005)
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-cordenier authored Oct 19, 2023
1 parent c097c2c commit 5b7b401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/cmd/jobs_commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 = """
Expand All @@ -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) {
Expand Down

0 comments on commit 5b7b401

Please sign in to comment.