feat(headless): add deterministic multi-session scheduler
This commit is contained in:
parent
b299e3738e
commit
7e8acb74dd
6 changed files with 694 additions and 54 deletions
|
|
@ -113,7 +113,9 @@ internal sealed class LifecycleSmokeHeadlessBotPolicy
|
|||
RuntimeSessionStartResult reconnect =
|
||||
commands.Session.Reconnect(view.Generation);
|
||||
if (reconnect.Status
|
||||
!= RuntimeSessionStartStatus.Connected)
|
||||
is not (
|
||||
RuntimeSessionStartStatus.Connected
|
||||
or RuntimeSessionStartStatus.Deferred))
|
||||
{
|
||||
throw new InvalidOperationException(
|
||||
$"Lifecycle gate reconnect was rejected with {reconnect.Status}.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue