- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for fail (0.16 sec)
-
cni/pkg/log/uds_test.go
log.Debug("debug log") log.Info("info log") log.Warn("warn log") log.Error("error log") // This will error because stdout cannot sync, but the UDS part should sync // Ideally we would fail if the UDS part fails but the error library makes it kind of tricky _ = log.Sync() // Restore os stdout. os.Stdout = stdout assert.NoError(t, log.Configure(loggingOptions)) assert.NoError(t, w.Close())
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Mar 16 00:20:01 GMT 2024 - 2.5K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
if !strings.Contains(output, noClusterID) { t.Fatal(err) } } checkFiles := map[string]bool{ // inputs that we allow to exist, if other files seep in unexpectedly we fail the test ".gitignore": false, "meshconfig.yaml": false, "workloadgroup.yaml": false, } for k, v := range generated { checkFiles[k] = v } checkOutputFiles(t, testdir, checkFiles) })
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
// so it should be annotated, so if it is removed from the mesh, the rules will be removed. // alternatively, we may not return an error at all, but we want this to fail on tests. return NewErrPartialAdd(err) } return nil } func (s *NetServer) sendPodToZtunnelAndWaitForAck(ctx context.Context, pod *corev1.Pod, netns Netns) error {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1) -
cni/pkg/iptables/iptables.go
{"-t", iptablesconstants.MANGLE, "-D", iptablesconstants.OUTPUT, "-j", ChainInpodOutput}, {"-t", iptablesconstants.NAT, "-D", iptablesconstants.OUTPUT, "-j", ChainInpodOutput}, } // these sometimes fail due to "Device or resource busy" optionalDeleteCmds := [][]string{ // flush-then-delete our created chains {"-t", iptablesconstants.MANGLE, "-F", ChainInpodPrerouting},
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
} // Create a kube client client := kube.NewFakeClient(objects...) mockRedir := &mockInterceptRuleMgr{} err = doAddRun(args, conf, client.Kube(), mockRedir) if err == nil { t.Fatal("expected to fail, but did not!") } return mockRedir } func testDoAddRun(t *testing.T, stdinData, nsName string, objects ...runtime.Object) *mockInterceptRuleMgr { args := buildCmdArgs(stdinData, testPodName, nsName)
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/dashboard/dashboard.go
"Address to listen on. Only accepts IP address or localhost as a value. "+ "When localhost is supplied, istioctl will try to bind on both 127.0.0.1 and ::1 "+ "and will fail if neither of these address are available to bind.") dashboardCmd.PersistentFlags().BoolVar(&browser, "browser", true, "When --browser is supplied as false, istioctl dashboard will not open the browser. "+
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
decoded = map[string]any{} } if err := json.Unmarshal(uglyJSON, &decoded); err != nil { return []string{}, err } if d, ok := decoded.(map[string]any); ok { if v, ok := d["spec"]; ok { // Fall back to showing the entire spec. // (When --config-path is used there will be no spec to remove) decoded = v } } setflags, err := walk("", "", decoded) if err != nil { return []string{}, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 7.1K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig_test.go
wantException: true, // "istioctl proxy-config clusters invalid" should fail }, { // listeners invalid args: strings.Split("listeners invalid", " "), expectedString: "unable to retrieve Pod: pods \"invalid\" not found", wantException: true, // "istioctl proxy-config listeners invalid" should fail }, { // logging empty args: strings.Split("log", " "),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 10 21:51:29 GMT 2024 - 8.9K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
// netns == ""; at this point netns should have been added via the initial snapshot, // or via the cni plugin. If it happens to get here before the cni plugin somehow, // then we will just fail to add the pod to the mesh, and it will be retried later when cni plugin adds it. // We need a pod IP - if the pod was added via the CNI plugin, that plugin told us the IPs
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
expectedString: "Error: expecting pod name", wantException: true, // "istioctl experimental inspect pod" should fail }, { // case 3 unknown pod args: strings.Split("po not-a-pod", " "), expectedString: "pods \"not-a-pod\" not found", wantException: true, // "istioctl experimental describe pod not-a-pod" should fail }, { // case 8 unknown service args: strings.Split("service not-a-service", " "),
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)