- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 294 for fails (0.01 seconds)
-
cmd/utils_test.go
if testCase.shouldPass && err != nil { t.Errorf("Test %d: expected to pass but got an error: %v\n", i+1, err) } if !testCase.shouldPass && err == nil { t.Errorf("Test %d: expected to fail but passed.", i+1) } } } // Testing dumping request function. func TestDumpRequest(t *testing.T) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.2K bytes - Click Count (0) -
cmd/erasure-heal_test.go
closeBitrotWriters(staleWriters) if err != nil && !test.shouldFail { t.Errorf("Test %d: should pass but it failed with: %v", i, err) } if err == nil && test.shouldFail { t.Errorf("Test %d: should fail but it passed", i) } if err == nil { // Verify that checksums of staleDisks // match expected values for i := range staleWriters { if staleWriters[i] == nil { continue }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
where: apiElement | jApiTypeName 'method' | 'jApiMethod' 'field' | 'jApiField' } def "new incubating API does not fail the check but is reported"() { given: def rule = withContext(new NewIncubatingAPIRule([:])) when: jApiMethod.annotations >> [incubatingAnnotation]Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 16K bytes - Click Count (0) -
ci/official/utilities/code_check_full.bats
if [[ -s $BATS_TEST_TMPDIR/actual_missing_licenses ]]; then echo "Please include the missing licenses for the following packages in $LICENSES_TARGET:" cat $BATS_TEST_TMPDIR/actual_missing_licenses fi # Fail if either of the two "extras" or "missing" lists are present. If so, # then the user will see the above error messages. [[ ! -s $BATS_TEST_TMPDIR/actual_extra_licenses ]] && [[ ! -s $BATS_TEST_TMPDIR/actual_missing_licenses ]]
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Dec 19 18:47:57 GMT 2025 - 13.5K bytes - Click Count (0) -
cmd/postpolicyform_test.go
xhttp "github.com/minio/minio/internal/http" ) func TestParsePostPolicyForm(t *testing.T) { testCases := []struct { policy string success bool }{ // missing expiration, will fail. {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.3K bytes - Click Count (0) -
cmd/prepare-storage.go
(len(endpoints)/2)+1, getElapsedTime()) case errors.Is(err, errErasureV3ThisEmpty): // need to wait for this error to be healed, so continue. default: // For all other unhandled errors we exit and fail. return nil, nil, err } select { case <-ticker.C: case <-globalOSSignalCh: return nil, nil, fmt.Errorf("Initializing data volumes gracefully stopped") } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 11.1K bytes - Click Count (1) -
cmd/metacache-entries_test.go
zip2.go", "src/compress/bzip2/bzip2_test.go", "src/compress/bzip2/huffman.go", "src/compress/bzip2/move_to_front.go", "src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2", "src/compress/bzip2/testdata/e.txt.bz2", "src/compress/bzip2/testdata/fail-issue5747.bz2", "src/compress/bzip2/testdata/pass-random1.bin", "src/compress/bzip2/testdata/pass-random1.bz2", "src/compress/bzip2/testdata/pass-random2.bin", "src/compress/bzip2/testdata/pass-random2.bz2", "src/compress/bzip2/testdata/pass-sawtooth.bz2",...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 31.6K bytes - Click Count (0) -
internal/kms/secret-key.go
var c ciphertext if err := c.UnmarshalJSON(b); err != nil { // It may happen that a random ciphertext starts with '{' and ends with '}'. // In such a case, parsing will fail but we must not return an error. Instead // we return the ciphertext as it is. return b, kms.AES256 } b = b[:0] b = append(b, c.Bytes...) b = append(b, c.IV...) b = append(b, c.Nonce...)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Apr 21 16:23:51 GMT 2025 - 8.4K bytes - Click Count (0) -
internal/config/certs_test.go
if err != nil && !testCase.shouldFail { t.Errorf("Test %d: test should succeed but it failed: %v", i, err) } if err == nil && testCase.shouldFail { t.Errorf("Test %d: test should fail but it succeed", i) } os.Remove(privateKey) os.Remove(certificate) } } var loadX509KeyPairTests = []struct { password string privateKey, certificate string
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 21.6K bytes - Click Count (0) -
cmd/storage-rest-server.go
} else { logger.Fatal(err, "Unable to initialize backend") } case errors.Is(err, errDiskFull): if !exit { storageLogOnceIf(GlobalContext, fmt.Errorf("Drive is already full at %s, incoming I/O will fail - drive will be offline", endpoint), "log-fatal-errs") } else { logger.Fatal(err, "Unable to initialize backend") } case errors.Is(err, errInconsistentDisk): if exit {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 45.7K bytes - Click Count (0)