- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 110 for expected (0.16 sec)
-
cni/test/install_k8s_test.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jul 27 18:01:48 GMT 2022 - 8K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
testGenerateOption(t, true, func(t *testing.T, actual, expected []admitv1.MutatingWebhook) { assert.Equal(t, actual, expected) }) // Test generate option 'false', should modify webhooks testGenerateOption(t, false, func(t *testing.T, actual, expected []admitv1.MutatingWebhook) { if err := assert.Compare(actual, expected); err == nil { t.Errorf("expected diff between webhooks, got none") } })
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump_test.go
util.CompareContent(t, gotOut.Bytes(), tt.wantOutputFile) } if err == nil && tt.wantErr { t.Errorf("PrintBootstrapDump (%v) did not produce expected err", tt.name) } else if err != nil && !tt.wantErr { t.Errorf("PrintBootstrapDump (%v) produced unexpected err: %v", tt.name, err) } }) } } func TestConfigWriter_PrintVersionSummary(t *testing.T) { tests := []struct { name string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 03 23:08:06 GMT 2024 - 3.5K bytes - Viewed (0) -
istioctl/pkg/util/testutil/util.go
"istio.io/istio/pilot/test/util" ) type TestCase struct { Args []string // Typically use one of the three ExpectedOutput string // Expected constant output ExpectedRegexp *regexp.Regexp // Expected regexp output GoldenFilename string // Expected output stored in golden file WantException bool } func VerifyOutput(t *testing.T, cmd *cobra.Command, c TestCase) { t.Helper()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 2K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
} } func TestGetRevisionFromPodAnnotation(t *testing.T) { cases := []struct { anno klabels.Set expected string }{ { anno: klabels.Set{ apiannotation.SidecarStatus.Name: "", }, expected: "", }, { anno: klabels.Set{}, expected: "", }, { anno: klabels.Set{ apiannotation.SidecarStatus.Name: ` { "initContainers": [
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
istioctl/pkg/util/constants.go
// The actual name can be different - use getMeshConfigMapName DefaultMeshConfigMapName = "istio" // ConfigMapKey should match the expected MeshConfig file name ConfigMapKey = "mesh" // ValuesConfigMapKey should match the expected Values file name ValuesConfigMapKey = "values" DefaultRevisionName = "default" ) const (
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route_test.go
desc string domains []string expected string }{ { desc: "test zero domain", domains: []string{}, expected: "", }, { desc: "test only one domain", domains: []string{"example.com"}, expected: "example.com", }, { desc: "test domains with port", domains: []string{"example.com", "example.com:8080"}, expected: "example.com", }, {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 2.8K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/configdump_test.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Feb 02 18:21:48 GMT 2024 - 3.6K bytes - Viewed (0) -
istioctl/cmd/istioctl_test.go
// do nothing default: t.Errorf("Expected a CommandParseError, but got %q.", fErr) } // we should propagate to subcommands rootCmd = GetRootCmd([]string{"analyze", "--unknown-flag"}) fErr = rootCmd.Execute() switch fErr.(type) { case istioctlutil.CommandParseError: // do nothing default: t.Errorf("Expected a CommandParseError, but got %q.", fErr) } // all of the subcommands
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:53:25 GMT 2023 - 1.5K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
if kept.Uid != string(pod.UID) { panic("expected keep received") } sendAck(ztunClient) // read snapshot sent m, fds := readRequest(t, ztunClient) assert.Equal(t, len(fds), 0) sent := m.Payload.(*zdsapi.WorkloadRequest_SnapshotSent).SnapshotSent if sent == nil { panic("expected snapshot sent") } sendAck(ztunClient) ztunClient.Close()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 8.6K bytes - Viewed (0)