-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: get engine time #447
Conversation
Implement a new API for the test engine that allows the test writer to query the current time of the running engine. This helps to create tests that set a specific time-of-day, especially for longer-running tests where there may be multiple changes in the engine clock.
|
Thanks for your PR! I’ll have a look at it tomorrow. in the meantime I have started the CI for it. Please also sign the CLA. |
Will do. I just sent it off to our legal department for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the PR @jasoncwik. I think this a great improvement and I would love to see this merged 👍
I have a few suggestions to get the PR ready to be merged. Please have a look at my comments and feel free to let me know if you disagree on something 😄 Overall they should all be quick-fixes.
During the review I have used emoji code
...src/main/java/io.camunda.zeebe.process.test.extension.testcontainer/ContainerizedEngine.java
Outdated
Show resolved
Hide resolved
api/src/main/java/io/camunda/zeebe/process/test/api/ZeebeTestEngine.java
Outdated
Show resolved
Hide resolved
engine/src/test/java/io/camunda/zeebe/process/test/engine/EngineClientTest.java
Outdated
Show resolved
Hide resolved
Updated PR based on review comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes! 🚀
I have 1 more small comment, please have a look at it. Once you've heard back from your legal team and signed the CLA we can go ahead with the merge 🙂
...src/main/java/io.camunda.zeebe.process.test.extension.testcontainer/ContainerizedEngine.java
Show resolved
Hide resolved
Hey @jasoncwik. I was wondering if you had already heard back from your legal department. The CLA is the last thing that prevents me from merging this. It would be a shame to let it go to waste 🙂 |
Should have the CLA this week. Just working through some process changes on our side. |
Closing due to inactivity. Please re-open if you still want to work on this. |
Description
Implement a new API for the test engine that allows the test writer to query
the current time of the running engine. This helps to create tests that set
a specific time-of-day, especially for longer-running tests where there may
be multiple changes in the engine clock.
Related issues
closes #446
Definition of Done
Not all items need to be done depending on the issue and the pull request.
Code changes:
Testing:
Documentation: