Skip to content

Commit

Permalink
fix(redis): Fix intermittently failing test (#2675)
Browse files Browse the repository at this point in the history
Another test fails occasionally due to non-monotonic ULIDs over
short timescales.
  • Loading branch information
ezimanyi authored Feb 24, 2019
1 parent 95339db commit 4073bdd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ abstract class ExecutionRepositoryTck<T extends ExecutionRepository> extends Spe

when:
repository.store(runningExecution)
// our ULID implementation isn't monotonic
sleep(1)
repository.store(succeededExecution)
def orchestrations = repository.retrieveOrchestrationsForApplication(
runningExecution.application,
Expand Down

0 comments on commit 4073bdd

Please sign in to comment.