Skip to content

Commit

Permalink
Disable ipv6 as workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
dzedro committed Oct 19, 2023
1 parent 0d63182 commit bfcbff8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/containers/common.pm
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,9 @@ sub check_containers_connectivity {
record_info "connectivity", "Checking that containers can connect to the host, to each other and outside of the host";
my $container_name = 'sut_container';

record_info 'https://sd.suse.com/servicedesk/customer/portal/1/SD-135489'
assert_script_run 'sysctl -w net.ipv6.conf.all.disable_ipv6=1';

# Run container in the background (sleep for 30d because infinite is not supported by sleep in busybox)
script_retry "$runtime pull " . registry_url('alpine'), retry => 3, delay => 120;
assert_script_run "$runtime run -id --rm --name $container_name -p 1234:1234 " . registry_url('alpine') . " sleep 30d";
Expand Down

0 comments on commit bfcbff8

Please sign in to comment.