Skip to content
Snippets Groups Projects
Commit e49a3105 authored by paf's avatar paf
Browse files

sends the `resume` command to every test-session, not only those, which are paused.

Why? Consider the following scenario before this change: we have 10 test-sessions prepared but 7 testees are present. The autoCheckAll-mode is on. We click pause and `pause` is sent to all ten test-sessions. The seven session which are online go in the pause mode and the controller sends back the state `{CONTROLLER: paused}`. Now we hit `resume` - and reach the only seven test-sessions which are in pause now. Now one of the the remaining three testees shows up and starts his session. Ge gets the pending pause from before command but no resume. Now he is paused, while the rest isn't.

To avoid this case of inconsistency we send the resume command to all test-sessions anyway.

Another approach would hve been to drop the command-"caching" for pending tests. But this would have other impacts in scenarios where testees who start later.
parent e4dabf49
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment