Skip to content

Commit

Permalink
Merge pull request lightninglabs#293 from halseth/increase-delta-crea…
Browse files Browse the repository at this point in the history
…tion

itest: increase order events delta
  • Loading branch information
halseth authored Mar 30, 2021
2 parents aa2d01d + ea7169d commit 2b86d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions itest/test_harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -738,10 +738,10 @@ func assertOrderEvents(t *harnessTest, trader *traderHarness, nonce []byte,
}
require.NotNil(t.t, rpcOrder)

// Make sure the creation timestamp is within 100 milliseconds of the
// Make sure the creation timestamp is within 500 milliseconds of the
// time that was passed in.
expectedTs := uint64(creationTs.UnixNano())
maxDelta := float64(100 * time.Millisecond)
maxDelta := float64(500 * time.Millisecond)
require.InDelta(t.t, expectedTs, rpcOrder.CreationTimestampNs, maxDelta)

// Assert we have the right number of events in verbose mode.
Expand Down

0 comments on commit 2b86d46

Please sign in to comment.