[CRIU] [PATCH] test/static: Add test for --skip-in-flight

Radostin Stoyanov rstoyanov1 at gmail.com
Fri Jan 4 21:46:07 MSK 2019


On 02/01/2019 17:18, Andrei Vagin wrote:
>> +    if (check_socket_state(clt, TCP_CLOSE)) {
> This test is going to be flaky, because the criu restors this socket
> into TCP_ESTABLISHED and then it is closed because (by kernel), because
> the other side isn't restored properly.
That is true, thank you for pointing it out.
> nit: it would be good if this test will pass with "--iter 0":
> python zdtm.py run -t zdtm/static/socket-tcp-skip-in-flight --iter 0
Any suggestions on what would be a good test, that will pass with
"--iter 0"?

Radostin


More information about the CRIU mailing list