Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shadowCopyPortTrafficPolicy (0.27 sec)

  1. pilot/pkg/networking/util/fuzz_test.go

    		// The port does not need to be copied.
    		r.Port = nil
    
    		// The type has changed and cannot be compared directly.
    		// Convert to []byte for comparison.
    		copied := shadowCopyPortTrafficPolicy(r)
    		rjs, _ := json.Marshal(r)
    		cjs, _ := json.Marshal(copied)
    		assert.Equal(fg.T(), rjs, cjs)
    	})
    }
    
    func FuzzMergeTrafficPolicy(f *testing.F) {
    	fuzz.Fuzz(f, func(fg fuzz.Helper) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 20:32:49 UTC 2024
    - 1.8K bytes
    - Viewed (1)
Back to top