Add feature to query the Zeebe engine's current time #446
Labels
hacktoberfest
Marks an issue as a candidate to be a Hacktoberfest contribution
kind/feature
Categorizes an issue or PR as a feature, i.e. new behavior
Description
When writing tests, the Zeebe engine has an existing API to
increaseTime
but there isn't a way to query the engine's current time. We have events that occur at specific times of the day and it's hard to calculate how much time to add if you don't know the current time (especially when writing multiple tests and callingincreaseTime
multiple times.Looking at the code, the engine does have a
clock
object that could be used to query the existing time and return it to the client.The text was updated successfully, but these errors were encountered: