Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for testFatal (0.23 sec)

  1. 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)
  2. internal/s3select/testdata/testdata.parquet

    Harshavardhana <******@****.***> 1622584780 -0700
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  3. internal/s3select/json/preader_test.go

    	"testing"
    
    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    func TestNewPReader(t *testing.T) {
    	files, err := os.ReadDir("testdata")
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, file := range files {
    		t.Run(file.Name(), func(t *testing.T) {
    			f, err := os.Open(filepath.Join("testdata", file.Name()))
    			if err != nil {
    				t.Fatal(err)
    			}
    			r := NewPReader(f, &ReaderArgs{})
    			var record sql.Record
    			for {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  4. 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)
  5. cmd/metacache-entries_test.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", "src/compress/bzip2/testdata/random.data.bz2", "src/compress/flate/deflate.go",...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  6. docs/bigdata/README.md

    - At the _scala>_ prompt, submit the job by typing the following commands, Replace node names, file name, and file location with your values:
    
    ```
    scala> val file = sc.textFile("s3a://testbucket/testdata")
    file: org.apache.spark.rdd.RDD[String] = s3a://testbucket/testdata MapPartitionsRDD[1] at textFile at <console>:24
    
    scala> val counts = file.flatMap(line => line.split(" ")).map(word => (word, 1)).reduceByKey(_ + _)
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  7. 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)
  8. internal/event/target/testdata/contrib/nats_tls.conf

    port: 14225
    net: localhost
    
    tls {
        cert_file:  "./testdata/contrib/certs/nats_server_cert.pem"
        key_file:   "./testdata/contrib/certs/nats_server_key.pem"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 163 bytes
    - Viewed (0)
  9. cmd/erasure-coding.go

    	var testData [256]byte
    	for i := range testData {
    		testData[i] = byte(i)
    	}
    	ok := true
    	for algo := invalidErasureAlgo + 1; algo < lastErasureAlgo; algo++ {
    		for _, conf := range testConfigs {
    			failOnErr := func(err error) {
    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)
  10. 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)
Back to top