github.com/cptmikhailov/conmon@v2.0.20+incompatible/contrib/cirrus/network_bats.patch (about)

     1  diff --git a/test/network.bats b/test/network.bats
     2  index d4fd2ee21..d3808aaad 100644
     3  --- a/test/network.bats
     4  +++ b/test/network.bats
     5  @@ -185,17 +185,3 @@ function teardown() {
     6   	num_allocated=$(ls /var/lib/cni/networks/crionet_test_args | wc -l)
     7   	[[ "${num_allocated}" == "0" ]]
     8   }
     9  -
    10  -@test "Clean up network if pod sandbox fails after plugin success" {
    11  -	start_crio "" "" "" "" "prepare_plugin_test_args_network_conf_malformed_result"
    12  -
    13  -	run crictl runp "$TESTDATA"/sandbox_config.json
    14  -	echo "$output"
    15  -	[ "$status" -ne 0 ]
    16  -
    17  -	# ensure that the server cleaned up sandbox networking if the sandbox
    18  -	# failed during network setup after the CNI plugin itself succeeded
    19  -	rm -f /var/lib/cni/networks/crionet_test_args/last_reserved_ip
    20  -	num_allocated=$(ls /var/lib/cni/networks/crionet_test_args | wc -l)
    21  -	[[ "${num_allocated}" == "0" ]]
    22  -}