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

Andrei Vagin avagin at gmail.com
Wed Jan 9 09:24:04 MSK 2019


On Fri, Jan 04, 2019 at 06:46:07PM +0000, Radostin Stoyanov wrote:
> 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"?

I would suggest to ignore this client socket and check that a listening
socket can accept new connections.

> 
> Radostin


More information about the CRIU mailing list