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

test/0020-basic.bats also fails sometimes #77

Open
MatejKafka opened this issue Nov 14, 2022 · 0 comments
Open

test/0020-basic.bats also fails sometimes #77

MatejKafka opened this issue Nov 14, 2022 · 0 comments

Comments

@MatejKafka
Copy link
Collaborator

MatejKafka commented Nov 14, 2022

While researching #76, I also noticed that the "correct printing of synchronization messages" test in test/0020-basic.bats sometimes fails for me, because the setup of the scheduled process takes a long time thanks to the coverage tests.

Unlike in #76, this cannot be solved by increasing the length of a window without increasing the length of the test. My preferred solution would probably be to add an initialization window.

Output log:

>>> 15:51:09.869 [info] Power management disabled (to enable, select a power policy using the -p parameter)
>>> 15:51:09.870 [info] Parsed 1 partition and 3 windows
>>> 15:51:09.870 [info] No processes need initialization
>>> 15:51:09.870 [info] Starting scheduler
<MF>
<WINDOW>
>>> 15:51:09.970 [warning] Window ended before all SC partitions finished
<WINDOW>
>>> 15:51:09.980 [warning] Window ended before all SC partitions finished
<WINDOW>
>>> 15:51:09.990 [warning] Window ended before all SC partitions finished
<MF>
<WINDOW>
>>> 15:51:10.090 [warning] Window ended before all SC partitions finished
<WINDOW>
>>> 15:51:10.100 [warning] Window ended before all SC partitions finished
<WINDOW>
>>> 15:51:10.110 [warning] Window ended before all SC partitions finished
<MF>
<WINDOW>
[DEMOS] Process does not have an initialization window
[DEMOS] Process library set up
1
[DEMOS] Notifying scheduler of completion and suspending process...
<WINDOW>
[DEMOS] Process resumed
2
[DEMOS] Notifying scheduler of completion and suspending process...
<WINDOW>
[DEMOS] Process resumed
3
[DEMOS] Notifying scheduler of completion and suspending process...
<MF>
<WINDOW>
[DEMOS] Process resumed
>>> 15:51:10.266 [info] All processes exited, stopping scheduler
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

No branches or pull requests

1 participant