Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestServiceSettings (0.41 sec)

  1. pkg/config/validation/agent/validation_test.go

    			}
    		} else {
    			if !tt.ok {
    				t.Errorf("test: \"%s\" expected to fail but succeeded", tt.name)
    			}
    		}
    	}
    }
    
    func TestServiceSettings(t *testing.T) {
    	cases := []struct {
    		name  string
    		hosts []string
    		valid bool
    	}{
    		{
    			name: "good",
    			hosts: []string{
    				"*.foo.bar",
    				"bar.baz.svc.cluster.local",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 39.1K bytes
    - Viewed (0)
Back to top