Skip to content

Commit

Permalink
update a test
Browse files Browse the repository at this point in the history
  • Loading branch information
algonautshant committed Sep 23, 2022
1 parent 05d63ae commit 58e4d3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e-go/upgrades/rekey_support_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ func TestRekeyUpgrade(t *testing.T) {
_, err = client.BroadcastTransaction(rekeyed)
// non empty err means the upgrade have not happened yet (as expected), ensure the error
if err != nil {
// should be either "nonempty AuthAddr but rekeying not supported" or "txn dead"
if !strings.Contains(err.Error(), "nonempty AuthAddr but rekeying not supported") &&
// should be either "nonempty AuthAddr but rekeying is not supported" or "txn dead"
if !strings.Contains(err.Error(), "nonempty AuthAddr but rekeying is not supported") &&
!strings.Contains(err.Error(), "txn dead") {
a.NoErrorf(err, "error message should be one of :\n%s\n%s", "nonempty AuthAddr but rekeying not supported", "txn dead")
}
Expand Down

0 comments on commit 58e4d3f

Please sign in to comment.