- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TestDesc (0.28 sec)
-
pkg/adsc/adsc_test.go
expectedADSResources *ADSC validator func(testCase) error } var tests []testCase type testDesc struct { desc string initialRequests []*discovery.DiscoveryRequest excludedResource string validator func(testCase) error } descs := []testDesc{ { desc: "stream-no-resources", initialRequests: []*discovery.DiscoveryRequest{}, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 15.4K bytes - Viewed (0) -
pkg/env/var_test.go
} if !present { t.Errorf("Expected present") } v = ev.Get() if v != 789*time.Second { t.Errorf("Expected 789 seconds, got %v", v) } } func TestDesc(t *testing.T) { reset() _ = RegisterDurationVar(testVar+"5", 123*time.Second, "A duration") _ = RegisterStringVar(testVar+"1", "123", "A string") _ = RegisterIntVar(testVar+"2", 456, "An int")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 8.1K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
env.ConfigStore = configStore testDesc := "Testing root SidecarScope for ns:%v enabled when %v is called." when := "createNewContext" newPush := NewPushContext() newPush.Mesh = env.Mesh() newPush.InitContext(env, nil, nil) verifyServices(true, fmt.Sprintf(testDesc, otherNS, when), otherNS, newPush) verifyServices(true, fmt.Sprintf(testDesc, defaultNS, when), defaultNS, newPush) oldPush := newPush
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0)