Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WriteGroupMap (0.17 sec)

  1. cni/pkg/iptables/iptables_e2e_test.go

    		t.Fatalf("Rules: %v", cur)
    	}
    }
    
    var initialized = &sync.Once{}
    
    func setup(t *testing.T) {
    	initialized.Do(func() {
    		// Setup group namespace so iptables --gid-owner will work
    		assert.NoError(t, userns.WriteGroupMap(map[uint32]uint32{userns.OriginalGID(): 0}))
    		// Istio iptables expects to find a non-localhost IP in some interface
    		assert.NoError(t, exec.Command("ip", "addr", "add", "240.240.240.240/32", "dev", "lo").Run())
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top