Trigger actual lower queue drain in producer readiness test
This commit is contained in:
1 parent
13bfc156f1
commit
d4ea508ec7
1 file changed
+1
@@ -543,6 +543,7 @@ static int lazy_send_requests(void) {
|
||||
REQUIRE(p.calls == 1 && !c->send_q->count && p.request.since_us == since);
|
||||
/* Готовность нижнего уровня не обходит BUSY и окно Router. */
|
||||
c->peer_receive_blocked = 1; queue_set_threshold(q, 0, 0);
|
||||
queue_data_put(q, queue_entry_new(0)); release(queue_data_get(q)); /* Событие drain, не только смена порога. */
|
||||
for (unsigned i = 0; i < 100; i++) step();
|
||||
REQUIRE(p.calls == 1 && p.request.conn == c);
|
||||
c->peer_receive_blocked = 0; c->minrtt_probe = 0; c->inflight_limit = 0;
|
||||
|
||||
Reference in new issue
Block a user