Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetLocalityLabel (0.31 sec)

  1. pkg/model/proxy_test.go

    			}
    			if !reflect.DeepEqual(string(b), tt.expect) {
    				t.Fatalf("Expected %v, got %v", tt.expect, string(b))
    			}
    		})
    	}
    }
    
    const (
    	k8sSeparator = "."
    )
    
    func TestGetLocalityLabel(t *testing.T) {
    	cases := []struct {
    		name     string
    		label    string
    		expected string
    	}{
    		{
    			name:     "with label",
    			label:    "region/zone/subzone-1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top