- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for testdata (0.19 sec)
-
cmd/server-main_test.go
hash string }{ { config: "testdata/config/1.yaml", expectedErr: false, hash: "hash:02bf70285dc71f76", }, { config: "testdata/config/2.yaml", expectedErr: false, hash: "hash:676d2da00f71f205", }, { config: "testdata/config/invalid.yaml", expectedErr: true, }, { config: "testdata/config/invalid-types.yaml", expectedErr: true, },
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Dec 07 09:33:56 GMT 2023 - 3.1K bytes - Viewed (0) -
cmd/erasure-object_test.go
// Create a testbucket err = objLayer.MakeBucket(ctx, "testbucket", MakeBucketOptions{}) if err != nil { t.Fatal(err) } // Unzip sample object data to the existing disks err = unzipArchive("testdata/xl-meta-inline-notinline.zip", path) if err != nil { t.Fatal(err) } // Try to read the object and check its md5sum
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jan 30 20:43:25 GMT 2024 - 36.8K bytes - Viewed (0) -
cmd/storage-rest_test.go
{"foo", "newline\n", testData, false, true}, {"foo", "newline\t", testData, false, true}, {"foo", "newline \n", testData, false, true}, {"foo", "newline$$$\n", testData, false, true}, {"foo", "newline%%%\n", testData, false, true}, {"foo", "newline \t % $ & * ^ # @ \n", testData, false, true}, {"foo", "\n\tnewline \t % $ & * ^ # @ \n", testData, false, true}, } for i, testCase := range testCases {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jan 30 20:43:25 GMT 2024 - 11.4K bytes - Viewed (0) -
internal/s3select/select_test.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Dec 23 07:19:11 GMT 2023 - 76.2K bytes - Viewed (0) -
cmd/erasure-coding.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 8.6K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
"github.com/klauspost/compress/zstd" "github.com/minio/minio/internal/bucket/lifecycle" xhttp "github.com/minio/minio/internal/http" ) func TestReadXLMetaNoData(t *testing.T) { f, err := os.Open("testdata/xl.meta-corrupt.gz") if err != nil { t.Fatal(err) } defer f.Close() gz, err := gzip.NewReader(bufio.NewReader(f)) if err != nil { t.Fatal(err) } buf, err := io.ReadAll(gz)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 08 17:50:48 GMT 2024 - 36.4K bytes - Viewed (0) -
cmd/test-utils_test.go
} rec = httptest.NewRecorder() apiRouter.ServeHTTP(rec, reqC) checkRespErr(rec, http.StatusOK) } } // unzip a file into a specific target dir - used to unzip sample data in cmd/testdata/ func unzipArchive(zipFilePath, targetDir string) error { zipReader, err := zip.OpenReader(zipFilePath) if err != nil { return err } for _, file := range zipReader.Reader.File {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 17:26:51 GMT 2024 - 76.2K bytes - Viewed (0) -
cmd/xl-storage_test.go
// create xlStorage test setup xlStorage, _, err := newXLStorageTestSetup(t) if err != nil { t.Fatalf("Unable to cfgreate xlStorage test setup, %s", err) } xlMeta, _ := os.ReadFile("testdata/xl.meta") fi, _ := getFileInfo(xlMeta, "exists", "as-file", "", false, true) // Create files for the test cases. if err = xlStorage.MakeVol(context.Background(), "exists"); err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 11 17:45:28 GMT 2024 - 66.7K bytes - Viewed (0) -
cmd/object-handlers_test.go
} // set of inputs for uploading the objects before tests for downloading is done. putObjectInputs := []struct { bucketName string objectName string contentLength int64 textData []byte metaData map[string]string }{ {bucketName, objectName, int64(len(bytesData[0].byteData)), bytesData[0].byteData, make(map[string]string)}, }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 160K bytes - Viewed (0)