Skip to content

Commit

Permalink
integration-tests/ocr2_test.go: always validate value
Browse files Browse the repository at this point in the history
  • Loading branch information
cfal committed Aug 16, 2023
1 parent f14a4fa commit 0c796df
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions integration-tests/ocr2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,7 @@ func validateRounds(t *testing.T, cosmosClient *client.Client, ocrAddress types.
valueBig, success := new(big.Int).SetString(roundData.Answer, 10)
require.True(t, success, "Failed to parse round data")
value := valueBig.Int64()
if value < 0 {
require.Equal(t, value, int64(mockAdapterValue), "Reading from proxy should return correct value")
}
require.Equal(t, value, int64(mockAdapterValue), "Reading from proxy should return correct value")

return nil
}

0 comments on commit 0c796df

Please sign in to comment.