- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for expectedly (0.52 sec)
-
pkg/kubelet/cm/dra/claiminfo_test.go
for _, test := range []struct { description string claimInfo *ClaimInfo expectedLen int }{ { description: "successfully add pod reference", claimInfo: &ClaimInfo{ ClaimInfoState: state.ClaimInfoState{ PodUIDs: sets.New[string](), }, }, expectedLen: 1, }, { description: "duplicate pod reference", claimInfo: &ClaimInfo{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:31 UTC 2024 - 21K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/common_test.go
if len(cfg.APIServer.CertSANs) != len(test.out) { t.Fatalf("expected %d elements, got %d", len(test.out), len(cfg.APIServer.CertSANs)) } for i, expected := range test.out { if cfg.APIServer.CertSANs[i] != expected { t.Errorf("expected element %d to be %q, got %q", i, expected, cfg.APIServer.CertSANs[i]) } } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 23.4K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go
if err != nil { t.Fatalf("unexpected error: %v", err) } if !apiequality.Semantic.DeepEqual(actual, expected) { t.Errorf("expected %#v, got %#v", expected, actual) } } func TestLimitedReadBody(t *testing.T) { defer legacyregistry.Reset() legacyregistry.Register(metrics.RequestBodySizes) testcases := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 41.8K bytes - Viewed (0) -
src/net/http/responsecontroller_test.go
go func() { defer wg.Done() defer pw.Close() pw.Write([]byte("one")) select { case <-readc: case <-donec: select { case <-readc: default: t.Errorf("server handler unexpectedly exited without closing readc") return } } pw.Write([]byte("two")) }() defer wg.Wait() res, err := cst.c.Post(cst.ts.URL, "text/foo", pr) if err == nil { defer res.Body.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 19:20:31 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClient.java
* <li>The daemon closes the connection once it has received the {@link Finished} message.</li> * </ul> * * <p> * If the daemon returns a {@code null} message before returning a {@link Result} object, it has terminated unexpectedly for some reason. */ public class DaemonClient implements BuildActionExecutor<BuildActionParameters, ClientBuildRequestContext> { private static final Logger LOGGER = Logging.getLogger(DaemonClient.class);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 16.5K bytes - Viewed (0)