Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature to query the Zeebe engine's current time #446

Open
jasoncwik opened this issue Jul 19, 2022 · 1 comment
Open

Add feature to query the Zeebe engine's current time #446

jasoncwik opened this issue Jul 19, 2022 · 1 comment
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

Comments

@jasoncwik
Copy link

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 calling increaseTime 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.

@jasoncwik jasoncwik added the kind/feature Categorizes an issue or PR as a feature, i.e. new behavior label Jul 19, 2022
@jasoncwik jasoncwik mentioned this issue Jul 19, 2022
6 tasks
@remcowesterhoud remcowesterhoud added the hacktoberfest Marks an issue as a candidate to be a Hacktoberfest contribution label Sep 30, 2022
@saig0
Copy link
Member

saig0 commented May 31, 2024

Note

Heads up! We are building a new Java testing library for Camunda 8.6. The new library will replace Zeebe Process Test.
Read more about upcoming changes here and stay tuned for updates. 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants