Skip to content

Commit

Permalink
add extra fudge factor to TestSimulateSystemEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirms committed Dec 6, 2023
1 parent 811bdd9 commit 4ae9ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-rpc/internal/test/simulate_transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ func TestSimulateSystemEvent(t *testing.T) {
require.NoError(t, err)

assert.InDelta(t, 7464, uint32(transactionData.Resources.ReadBytes), 200)
assert.InDelta(t, 78927, int64(transactionData.ResourceFee), 2000)
assert.InDelta(t, 80980, int64(transactionData.ResourceFee), 5000)
assert.InDelta(t, 104, uint32(transactionData.Resources.WriteBytes), 15)
require.GreaterOrEqual(t, len(response.Events), 3)
}

0 comments on commit 4ae9ca4

Please sign in to comment.