- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 2,208 for Error (0.02 sec)
-
cmd/object-api-getobjectinfo_test.go
} if err == nil && !testCase.shouldPass { t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead", i+1, instanceType, testCase.err.Error()) } // Failed as expected, but does it fail for the expected reason. if err != nil && !testCase.shouldPass { if testCase.err.Error() != err.Error() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 5.6K bytes - Viewed (0) -
tests/preload_test.go
t.Errorf("failed to query, got error %v, account: %#v", err, user4.Account) } if err := DB.Preload(clause.Associations, func(tx *gorm.DB) *gorm.DB { return tx.Unscoped() }).Take(&user4, "id = ?", users3[0].ID).Error; err != nil || user4.Account.ID == 0 { t.Errorf("failed to query, got error %v, account: %#v", err, user4.Account) } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtException.java
case UNSPECIFIED: result += "Unspecified error"; break; default: result += "Unknown error code: " + errorCode; } break; default: result += "unknown error class: " + errorClass; } return result; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.9K bytes - Viewed (0) -
cmd/api-errors_test.go
// Check if an API error is properly defined func TestAPIErrCodeDefinition(t *testing.T) { for errAPI := ErrNone + 1; errAPI < apiErrCodeEnd; errAPI++ { errCode, ok := errorCodes[errAPI] if !ok { t.Fatal(errAPI, "error code is not defined in the API error code table") } if errCode.Code == "" { t.Fatal(errAPI, "error code has an empty XML code") } if errCode.HTTPStatusCode == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 25 15:13:08 UTC 2023 - 3.4K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard_test.go
ExpectedOutput: "Error: no pods found with selector app.kubernetes.io/name=grafana\n", WantException: true, }, { // case 7 Args: strings.Split("jaeger --browser=false", " "), ExpectedOutput: "Error: no pods found with selector app=jaeger\n", WantException: true, }, { // case 8 Args: strings.Split("kiali --browser=false", " "),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Nov 21 01:17:24 UTC 2023 - 4.3K bytes - Viewed (0) -
cmd/metacache_test.go
status: scanStateSuccess, fileNotFound: true, error: "", started: metaCacheTestsetTimestamp.Add(-time.Minute), ended: metaCacheTestsetTimestamp, lastUpdate: metaCacheTestsetTimestamp, lastHandout: metaCacheTestsetTimestamp, dataVersion: metacacheStreamVersion, }, 3: { id: "case-4-error", bucket: "bucket", root: "folder/prefix",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 08 18:06:45 UTC 2021 - 6.8K bytes - Viewed (0) -
cmd/warm-backend-azure.go
} func (az *warmBackendAzure) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) { return az.PutWithMeta(ctx, object, r, length, map[string]string{}) } func (az *warmBackendAzure) Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (r io.ReadCloser, err error) { if opts.startOffset < 0 { return nil, InvalidRange{} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 7K bytes - Viewed (0) -
cmd/erasure-sets.go
----------------- failure for all cases. // Pseudo code for managing `format.json`. // Generic checks. if (no quorum) return error if (any disk is corrupt) return error // Always error if (jbod inconsistent) return error // Always error. if (disks not recognized) // Always error. // Specific checks. if (all disks online) if (all disks return format.json) if (jbod consistent)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 27 10:41:37 UTC 2024 - 37K bytes - Viewed (1) -
internal/store/queuestore.go
} } return nil } // Delete - Remove the store directory from disk func (store *QueueStore[_]) Delete() error { return os.Remove(store.directory) } // PutMultiple - puts an item to the store. func (store *QueueStore[I]) PutMultiple(items []I) (Key, error) { // Generate a new UUID for the key. uid, err := uuid.NewRandom() if err != nil { return Key{}, err } store.Lock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.6K bytes - Viewed (0) -
cmd/storage-rest_test.go
expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("case %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if err != errUnformattedDisk { t.Fatalf("case %v: error: expected: %v, got: %v", i+1, errUnformattedDisk, err) } } } func testStorageAPIStatInfoFile(t *testing.T, storage StorageAPI) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 22 07:04:48 UTC 2024 - 11.5K bytes - Viewed (0)