- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for errString (0.16 sec)
-
tests/integration/operator/install_test.go
{ command: []string{"install", "--dry-run", "--revision", ""}, errString: InvalidRevision, }, { command: []string{"install", "--dry-run", "--revision", "1.8.0"}, errString: InvalidRevision, }, { command: []string{"install", "--dry-run", "--set", "values.global.network=network1"}, errString: "", }, } for _, test := range testCases {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 14:30:43 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/postupgrade_test.go
} errString := "there are files need roll back" originalErr := errors.New(errString) err = rollbackFiles(filesToRollBack, originalErr) if err == nil { t.Fatalf("Expected error contains %q, got nil", errString) } if !strings.Contains(err.Error(), errString) { t.Fatalf("Expected error contains %q, got %v", errString, err) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 11:40:04 UTC 2024 - 7.2K bytes - Viewed (0) -
internal/grid/trace.go
start := time.Now() body := bytesOrLength(req) resp, err := c.roundtrip(h, req) end := time.Now() status := http.StatusOK errString := "" if err != nil { errString = err.Error() if IsRemoteErr(err) == nil { status = http.StatusInternalServerError } else { status = http.StatusBadRequest } } prefix := t.Prefix
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 4.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/BuildOperationNotificationsFixtureTest.groovy
def listener = listener() when: listener.started(startedNotification(ErroringDetails)) then: def e = thrown(RuntimeException) e.message == "Failed to invoke erroring() of $ErroringDetails.name" e.cause instanceof RuntimeException e.cause.message == "!" } BuildOperationNotificationListener listener() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5K bytes - Viewed (0) -
fastapi/security/api_key.py
automatically cancel the request and send the client an error. If `auto_error` is set to `False`, when the query parameter is not available, instead of erroring out, the dependency result will be `None`. This is useful when you want to have optional authentication. It is also useful when you want to have authentication that can be
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 23 22:29:18 UTC 2024 - 9.1K bytes - Viewed (0) -
fastapi/security/open_id_connect_url.py
and send the client an error. If `auto_error` is set to `False`, when the HTTP Authorization header is not available, instead of erroring out, the dependency result will be `None`. This is useful when you want to have optional authentication. It is also useful when you want to have authentication that can be
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 2.7K bytes - Viewed (0) -
src/runtime/runtime-gdb_unix_test.go
if _, err := r.Read(buf[:]); err != io.EOF { t.Fatalf("control pipe read get err %v want io.EOF", err) } // 💥 if err := cmd.Process.Signal(os.Signal(syscall.SIGABRT)); err != nil { t.Fatalf("erroring signaling child: %v", err) } err = cmd.Wait() t.Logf("child output:\n%s", output.String()) if err == nil { t.Fatalf("Wait succeeded, want SIGABRT") } ee, ok := err.(*exec.ExitError)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 17 19:05:30 UTC 2024 - 9.4K bytes - Viewed (0)