2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 18:07:57 +00:00

zdtm: fix network lock tests when run with --norst

In test/jenkins/{crit.sh,criu-dump}, ZDTM is run with --norst,
Causing tests to only go through dump wihtout restoring.

The network locking tests are highly dependant on dump/restore hooks
causing them to hang when run with --norst.

We just add a reqrst flag to all network lock tests.

Signed-off-by: Zeyad Yasser <zeyady98@gmail.com>
This commit is contained in:
Zeyad Yasser 2021-08-17 22:15:26 +02:00 committed by Andrei Vagin
parent 9838d34ded
commit aa772bf286
6 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
'flavor': 'h',
'flags': 'suid excl',
'flags': 'suid excl reqrst',
'dopts': '--tcp-established --network-lock iptables',
'ropts': '--tcp-established',
}

View File

@ -1,6 +1,6 @@
{
'flavor': 'h',
'flags': 'suid excl',
'flags': 'suid excl reqrst',
'dopts': '--tcp-established --network-lock iptables',
'ropts': '--tcp-established',
}

View File

@ -1,6 +1,6 @@
{
'flavor': 'h',
'flags': 'suid excl',
'flags': 'suid excl reqrst',
'feature': 'network_lock_nftables',
'dopts': '--tcp-established --network-lock nftables',
'ropts': '--tcp-established',

View File

@ -1,6 +1,6 @@
{
'flavor': 'h',
'flags': 'suid excl',
'flags': 'suid excl reqrst',
'feature': 'network_lock_nftables',
'dopts': '--tcp-established --network-lock nftables',
'ropts': '--tcp-established',

View File

@ -1,6 +1,6 @@
{
'flavor': 'h',
'flags': 'suid excl',
'flags': 'suid excl reqrst',
'opts': '--tcp-established',
'dopts': '--network-lock iptables',
'ropts': '--join-ns net:/var/run/netns/criu-net-lock-test'

View File

@ -1,6 +1,6 @@
{
'flavor': 'h',
'flags': 'suid excl',
'flags': 'suid excl reqrst',
'feature': 'network_lock_nftables',
'opts': '--tcp-established',
'dopts': '--network-lock nftables',