Skip to content

Conversation

jerryfletcher21
Copy link
Contributor

What does this PR do?

On my powerful machine, running tests resulted in some errors. After a bit of digging I found out that it was a timing issues.
This PR adds a config option TIMING_EXTRA_IN_TESTS that when set to True, it takes some time where it should so that the tests do not fail.
If the config option is not present (default) nothing is changed.
I had this issue very sporadically on my laptop, and every time when running on an other powerful machine.
I run the tests without docker.

Checklist before merging

  • Install pre-commit and initialize it: pip install pre-commit, then pre-commit install. Pre-commit installs git hooks that automatically check the codebase. If pre-commit fails when you commit your changes, please fix the problems it points out.

@KoalaSat
Copy link
Member

Hi @jerryfletcher21 I understand the problem and I think we should find a way to fix it. But I'm not a fan of modifying real code for the sake of testing, I would try to fix the problem from the testing side or at least make usage of the regular tools provider to coordinators.

@jerryfletcher21
Copy link
Contributor Author

@KoalaSat yes I agree that this is not fixing the problem. For now I am running it otherwise the tests fail. I leave this pull request as a reminder of this issue. If I have time I search for a way to fix it cleanly.

@jerryfletcher21
Copy link
Contributor Author

jerryfletcher21 commented May 20, 2025

Also it is really strange that the github action is failing, because this pull request does not change anything by default, the changes are there just if TIMING_EXTRA_IN_TESTS is set.
Ok no now solved

On my powerful machine, running tests resulted in some errors.
After a bit of digging I found out that it was a timing issues.
This PR adds a config option TIMING_EXTRA_IN_TESTS that when set to
True, it take some time where it should so that the tests do not fail.
If the config option is not present (default) nothing is changed.
I had this issue very sporadically on my laptop, and every time when
running on an other powerful machine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants