Schedule pending deadline resets from probe creation
This commit is contained in:
1 parent
34602e3e7e
commit
633f1d3044
1 file changed
+3
-1
@@ -528,7 +528,9 @@ static void test_bootstrap(void) {
|
||||
CHECK(stream_probe_open(subscriber, nodes[3]->node_id, 0, &probe) == STREAM_OK);
|
||||
bootstrap_wait_response(NULL, 0);
|
||||
for (unsigned reset = 0; reset < 2; reset++) {
|
||||
test_clock_run_for(ua, 20000);
|
||||
/* Сроки от открытия пробы: ожидание handshake первого сброса не сдвигает второй к истечению deadline. */
|
||||
uint64_t reset_at = started + (1 + 2 * reset) * 10000;
|
||||
while (get_time_tb() < reset_at) test_clock_poll(ua, 100);
|
||||
CHECK(stream_receive_get_info(probe, &info) == STREAM_OK && info.state != STREAM_RECEIVE_CLOSED && !info.info_ready);
|
||||
reinits = bootstrap.reinits;
|
||||
etcp_conn_reinit(conn, "stream pending deadline test");
|
||||
|
||||
Reference in new issue
Block a user