serve/test_admit_order: the engine stand-in sets the arrivals deque the coalescing code reads

This commit is contained in:
Niko1221 committed 2026-10-30 18:39:58 +01:00
1 parent b6fc410ee5
commit 203df526f1
1 file changed
+2
+2
View File
@@ -6,6 +6,7 @@
from __future__ import annotations
import sys
import collections
import threading
import time
import unittest
@@ -25,6 +26,7 @@ def engine_without_process(n=2):
e.slot_claims, e.slot_releasing, e._orphan_seen = set(), set(), {}
e.slot_cv = threading.Condition()
e.waiting, e.admitting, e.wait_lens, e.ctl_epoch = 0, 0, [], 0
e.arrivals = collections.deque(maxlen=64)
e.ctl = threading.Lock()
e.gen = 1
e.up = True