- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for fatalf (0.21 sec)
-
operator/cmd/mesh/profile-diff_test.go
t.Fatalf("Output didn't match for 'istioctl %s'\n got %v\nwant: %v", c.args, output, c.expectedString) } if c.notExpected != "" && strings.Contains(output, c.notExpected) { t.Fatalf("Output didn't match for 'istioctl %s'\n got %v\nDON'T want: %v", c.args, output, c.expectedString) } if c.shouldFail { if fErr == nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 10 05:10:03 GMT 2024 - 3.6K bytes - Viewed (1) -
istioctl/pkg/tag/generate_test.go
if webhook.FailurePolicy != nil { t.Fatalf("expected FailurePolicy to be nil, got %v", *webhook.FailurePolicy) } if tc.whSVC != "" { if validationWhConf.Service == nil { t.Fatalf("expected validation service %s, got nil", tc.whSVC) } if validationWhConf.Service.Name != tc.whSVC { t.Fatalf("expected validation service %s, got %s", tc.whSVC, validationWhConf.Service.Name)
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) -
cni/pkg/plugin/plugin_test.go
conf, err := parseConfig(args.StdinData) if err != nil { t.Fatalf("config parse failed with error: %v", err) } // Create a kube client client := kube.NewFakeClient(objects...) mockRedir := &mockInterceptRuleMgr{} err = doAddRun(args, conf, client.Kube(), mockRedir) if err != nil { t.Fatalf("failed with error: %v", err) } return mockRedir }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
istioctl/pkg/util/testutil/util.go
fErr := cmd.Execute() output := out.String() if c.ExpectedOutput != "" && c.ExpectedOutput != output { t.Fatalf("Unexpected output for '%s %s'\n got: %q\nwant: %q", cmd.Name(), strings.Join(c.Args, " "), output, c.ExpectedOutput) } if c.ExpectedRegexp != nil && !c.ExpectedRegexp.MatchString(output) { t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.Args, " "), output, c.ExpectedRegexp) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 2K bytes - Viewed (0) -
cni/pkg/install/install_test.go
} else if file.Exists(cniConfigFilePath) { t.Fatalf("file %s was not deleted", c.configFilename) } // check if kubeconfig is deleted if file.Exists(kubeConfigFilePath) { t.Fatal("kubeconfig was not deleted") } // check if binaries are deleted if file.Exists(filepath.Join(cniBinDir, "istio-cni")) { t.Fatalf("File %s was not deleted", "istio-cni") } }) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 11.1K bytes - Viewed (0) -
istioctl/pkg/tag/tag_test.go
err := listTags(context.Background(), client, &out) if tc.error == "" && err != nil { t.Fatalf("expected no error, got %v", err) } if tc.error != "" { if err == nil { t.Fatalf("expected error to include \"%s\" but got none", tc.error) } if !strings.Contains(err.Error(), tc.error) { t.Fatalf("expected \"%s\" in error, got %v", tc.error, err) } } commandOutput := out.String()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K bytes - Viewed (0) -
cni/test/install_cni.go
cniConfigMap, err := util.ReadCNIConfigMap(cniConfigFilepath) if err != nil { t.Fatal(err) } // Find Istio CNI and remove from plugin list plugins, err := util.GetPlugins(cniConfigMap) if err != nil { t.Fatal(err) } for i, rawPlugin := range plugins { plugin, err := util.GetPlugin(rawPlugin) if err != nil { t.Fatal(err) } if plugin["type"] == "istio-cni" {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
SkipTLSVerify: c.skipTLSVerify, } result, err := createKubeConfig(cfg) if err != nil { if !c.expectedFailure { t.Fatalf("did not expect failure: %v", err) } // Successful test case expecting failure return } else if c.expectedFailure { t.Fatalf("expected failure") } goldenFilepath := "testdata/kubeconfig-tls" if c.skipTLSVerify {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 03:52:24 GMT 2024 - 5.1K bytes - Viewed (0) -
cni/pkg/repair/repair.go
return } repairLog.Info("Start CNI race condition repair.") client, err := clientSetup() if err != nil { repairLog.Fatalf("CNI repair could not construct clientSet: %s", err) } rc, err := NewRepairController(client, cfg) if err != nil { repairLog.Fatalf("Fatal error constructing repair controller: %+v", err) } go rc.Run(ctx.Done()) client.RunAndWait(ctx.Done()) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 23 17:08:31 GMT 2023 - 1.5K bytes - Viewed (0) -
operator/cmd/mesh/operator_test.go
t.Fatal(err) } if want, err = yaml.JSONToYAML([]byte(wantJSON)); err != nil { t.Fatal(err) } if diff := util.YAMLDiff(string(want), string(got)); diff != "" { t.Fatalf("diff: %s", diff) } } // TODO: rewrite this with running the actual top level command. func TestOperatorInit(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 6.4K bytes - Viewed (0)