Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 86 for expectedly (0.1 sec)

  1. tests/integration/pilot/tunneling_test.go

    	for _, expectedSourceIP := range expectedSourceIPs {
    		expectedLog := fmt.Sprintf("remoteAddr=%s method=GET url=/%s", expectedSourceIP.IP, expectedPath)
    		if strings.Contains(logs.String(), expectedLog) {
    			expectedTunnelLogFound = true
    			break
    		}
    	}
    	if !expectedTunnelLogFound {
    		return fmt.Errorf("failed to find expected tunnel log in logs of %s", target.ServiceName())
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/debug_test.go

    }
    
    func (s *ioState) readExpecting(millis, interlineTimeout int, expectedRE string) tstring {
    	timeout := time.Millisecond * time.Duration(millis)
    	interline := time.Millisecond * time.Duration(interlineTimeout)
    	s.last = tstring{}
    	var re *regexp.Regexp
    	if expectedRE != "" {
    		re = regexp.MustCompile(expectedRE)
    	}
    loop:
    	for {
    		var timer <-chan time.Time
    		if timeout > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_client_test.go

    				return fmt.Errorf("Got %d scts, wanted %d", n, len(expectedSCTs))
    			}
    			for i, expected := range expectedSCTs {
    				if sct := state.SignedCertificateTimestamps[i]; !bytes.Equal(sct, expected) {
    					return fmt.Errorf("SCT #%d contained %x, expected %x", i, sct, expected)
    				}
    			}
    			return nil
    		},
    	}
    	runClientTestTLS12(t, test)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. hack/local-up-cluster.sh

        CTLRMGR_PID=
      fi
    
      if [[ -n "${KUBELET_PID-}" ]] && ! sudo kill -0 "${KUBELET_PID}" 2>/dev/null; then
        warning_log "kubelet terminated unexpectedly, see ${KUBELET_LOG}"
        KUBELET_PID=
      fi
    
      if [[ -n "${PROXY_PID-}" ]] && ! sudo kill -0 "${PROXY_PID}" 2>/dev/null; then
        warning_log "kube-proxy terminated unexpectedly, see ${PROXY_LOG}"
        PROXY_PID=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testerrors/errors_test.go

    	if err == nil {
    		t.Errorf("expected cgo to fail but it succeeded")
    	}
    
    	lines := bytes.Split(out, []byte("\n"))
    	for _, re := range errors {
    		found := false
    		for _, line := range lines {
    			if re.Match(line) {
    				t.Logf("found match for %#q: %q", re, line)
    				found = true
    				break
    			}
    		}
    		if !found {
    			t.Errorf("expected error output to contain %#q", re)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/process/internal/worker/request/WorkerAction.java

        }
    
        @Override
        public void endStream() {
            // This happens when the connection between the worker and the build daemon is closed for some reason,
            // possibly because the build daemon died unexpectedly.
            stop();
        }
    
        @Override
        public void runThenStop(Request request) {
            try {
                run(request);
            } finally {
                stop();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 08:22:48 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/go/parser/parser_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	expected := [][]string{
    		{"/* 1a */", "/* 1b */", "/* 1c */", "// 1d"},
    		{"/* 2a\n*/", "// 2b"},
    		{"/* 3a */", "// 3b", "/* 3c */"},
    		{"// Example from go.dev/issue/3139"},
    		{"// before & after each rune"},
    		{"// Output:", "// 3", "// 5"},
    	}
    	if len(f.Comments) != len(expected) {
    		t.Fatalf("got %d comment groups; expected %d", len(f.Comments), len(expected))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. cmd/kube-proxy/app/conntrack.go

    	hashsize, err := readIntStringFile("/sys/module/nf_conntrack/parameters/hashsize")
    	if err != nil {
    		return err
    	}
    	if hashsize >= (max / 4) {
    		return nil
    	}
    
    	// sysfs is expected to be mounted as 'rw'. However, it may be
    	// unexpectedly mounted as 'ro' by docker because of a known docker
    	// issue (https://github.com/docker/docker/issues/24000). Setting
    	// conntrack will fail when sysfs is readonly. When that happens, we
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/os/removeall_test.go

    		}
    
    		// Defer changing the mode back so that the deferred
    		// RemoveAll(tempDir) can succeed.
    		defer Chmod(d, 0777)
    	}
    
    	err := RemoveAll(tempDir)
    	if err == nil {
    		t.Fatal("RemoveAll succeeded unexpectedly")
    	}
    
    	// The error should be of type *PathError.
    	// see issue 30491 for details.
    	if pathErr, ok := err.(*PathError); ok {
    		want := filepath.Join(tempDir, "b", "y")
    		if pathErr.Path != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. 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)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top