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

Remove Thread.sleep from PeriodicTask tests. #10

Open
klenium opened this issue Apr 13, 2019 · 0 comments
Open

Remove Thread.sleep from PeriodicTask tests. #10

klenium opened this issue Apr 13, 2019 · 0 comments
Labels
feature New feature or request Java Issues in the Java project.

Comments

@klenium
Copy link
Owner

klenium commented Apr 13, 2019

Right now unit tests use the PeriodicTask class, which uses a realistically controlled java.util.Timer. This slows down unit tests. Elapsed time could be simulated to focus only on events and tasks.

@klenium klenium added feature New feature or request Java Issues in the Java project. labels Apr 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request Java Issues in the Java project.
Projects
None yet
Development

No branches or pull requests

1 participant