Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLocalityMatch (0.18 sec)

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

    				}
    			} else if tt.locality != reverse {
    				t.Errorf("Expected locality string %s, got %v", tt.locality, reverse)
    			}
    		})
    	}
    }
    
    func TestLocalityMatch(t *testing.T) {
    	tests := []struct {
    		name     string
    		locality *core.Locality
    		rule     string
    		match    bool
    	}{
    		{
    			name: "wildcard matching",
    			locality: &core.Locality{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top