pytest/test_tcp_pipelining: longer delay for first query

In our CI, this test ocassionally fails. This is most likely due to
delays in kernel processing due to many virtualization layers coupled
with massive paralelization of tests.

Closes #427
parent adde7db0
...@@ -61,7 +61,7 @@ def test_pipelining(kresd_sock): ...@@ -61,7 +61,7 @@ def test_pipelining(kresd_sock):
assert msg_answer.id == msgid_pre assert msg_answer.id == msgid_pre
# test # test
buff1, msgid1 = utils.get_msgbuff('1000.delay.getdnsapi.net.', msgid=1) buff1, msgid1 = utils.get_msgbuff('1500.delay.getdnsapi.net.', msgid=1)
buff2, msgid2 = utils.get_msgbuff('1.delay.getdnsapi.net.', msgid=2) buff2, msgid2 = utils.get_msgbuff('1.delay.getdnsapi.net.', msgid=2)
buff = buff1 + buff2 buff = buff1 + buff2
kresd_sock.sendall(buff) kresd_sock.sendall(buff)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment