Skip to content

Commit

Permalink
Allow one of two error codes
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Broadhurst <[email protected]>
  • Loading branch information
peterbroadhurst committed Dec 21, 2023
1 parent 99111a8 commit 09351d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/multiparty/ethereum_contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func (suite *EthereumContractTestSuite) TestFFIInvokeMethod() {

// Idempotency check
_, err = suite.testState.client1.InvokeContractMethod(suite.T(), invokeContractRequest, 409)
assert.Regexp(suite.T(), "FF10431", err)
assert.Regexp(suite.T(), "FF10431|FF10458" /* idempotency check could come from FF or blockchain connector, depending on the operation update that is async */, err)

match := map[string]interface{}{
"info": map[string]interface{}{
Expand Down

0 comments on commit 09351d2

Please sign in to comment.