Skip to content

Commit

Permalink
integration-tests/common/client.go: use MustCreateJob to catch invali…
Browse files Browse the repository at this point in the history
…d status codes
  • Loading branch information
cfal committed Aug 9, 2023
1 parent a667044 commit 654c3b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-tests/common/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (cc *ChainlinkClient) CreateJobsForContract(chainId, p2pPort, mockUrl strin
OCR2OracleSpec: oracleSpec,
}

_, _, err := cc.ChainlinkNodes[0].CreateJob(jobSpec)
_, err := cc.ChainlinkNodes[0].MustCreateJob(jobSpec)
if err != nil {
return err
}
Expand Down Expand Up @@ -178,7 +178,7 @@ func (cc *ChainlinkClient) CreateJobsForContract(chainId, p2pPort, mockUrl strin
OCR2OracleSpec: oracleSpec,
ObservationSource: client.ObservationSourceSpecBridge(sourceValueBridge),
}
_, _, err = n.CreateJob(jobSpec)
_, err = n.MustCreateJob(jobSpec)
if err != nil {
return err
}
Expand Down

0 comments on commit 654c3b3

Please sign in to comment.