Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Run (0.05 sec)

  1. cmd/object-api-multipart_test.go

    		{bucketNames[0], objectNames[0], uploadIDs[0], inputParts[4].parts, "", InvalidUploadID{UploadID: uploadIDs[0]}, false},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.(*testing.T).Run("", func(t *testing.T) {
    			opts = ObjectOptions{}
    			actualResult, actualErr := obj.CompleteMultipartUpload(context.Background(), testCase.bucket, testCase.object, testCase.uploadID, testCase.parts, ObjectOptions{})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    	baseTestCases := []TestSuiteCommon{
    		// Init and run test on ErasureSD backend with signature v4.
    		{serverType: "ErasureSD", signer: signerV4},
    		// Init and run test on ErasureSD backend, with tls enabled.
    		{serverType: "ErasureSD", signer: signerV4, secure: true},
    		// Init and run test on Erasure backend.
    		{serverType: "Erasure", signer: signerV4},
    		// Init and run test on ErasureSet backend.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  3. cmd/erasure-healing_test.go

    			},
    			expectedMeta:     fi,
    			expectedDangling: false,
    		},
    
    		// Add new cases as seen
    	}
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run(testCase.name, func(t *testing.T) {
    			gotMeta, dangling := isObjectDangling(testCase.metaArr, testCase.errs, testCase.dataErrs)
    			if !gotMeta.Equals(testCase.expectedMeta) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    		{testBuckets[0], "unique/", "", "", 1000, true, ListObjectsInfo{}, resultCasesV[1], nil, true},
    	}
    
    	for i, testCase := range testCases {
    		testCase := testCase
    		t.Run(fmt.Sprintf("%s-Test%d", instanceType, i+1), func(t *testing.T) {
    			var err error
    			var resultL ListObjectsInfo
    			var resultV ListObjectVersionsInfo
    			if testCase.versioned {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    		{"data/G_792/srv-tse/c/users/denis/documents/gestionlocative.txt", nil},
    	}
    
    	for _, testCase := range testCases {
    		gotErr := checkPathLength(testCase.path)
    		t.Run("", func(t *testing.T) {
    			if gotErr != testCase.expectedErr {
    				t.Errorf("Expected %s, got %s", testCase.expectedErr, gotErr)
    			}
    		})
    	}
    }
    
    // Tests validate volume name.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    			return
    		case entry := <-s.immediatePurge:
    			// Add deadlines such that immediate purge is not
    			// perpetually hung here.
    			w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    			w.Run(func() error {
    				return removeAll(entry)
    			})
    		}
    	}
    }
    
    const almostFilledPercent = 0.05
    
    func (s *xlStorage) diskAlmostFilled() bool {
    	info, err := s.diskInfoCache.Get()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. cmd/peer-rest-server.go

    		}
    		if d := time.Until(execAt); d > 0 {
    			time.Sleep(d)
    		}
    	}
    	signal := serviceSignal(si)
    	switch signal {
    	case serviceRestart, serviceStop:
    		dryRun := vars.Get("dry-run") == "true" // This is only supported for `restart/stop`
    
    		waitingDisks := waitingDrivesNode()
    		if len(waitingDisks) > 0 {
    			buf, err := json.Marshal(waitingDisks)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  8. cmd/iam.go

    				took := time.Since(refreshStart).Seconds()
    				if took > maxDurationSecondsForLog {
    					// Log if we took a lot of time to load.
    					logger.Info("IAM refresh took (duration: %.2fs)", took)
    				}
    			}
    
    			// Run purge routines once in each hour.
    			if refreshStart.Hour() != lastPurgeHour {
    				lastPurgeHour = refreshStart.Hour()
    				// Poll and remove accounts for those users who were removed
    				// from LDAP/OpenID.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  9. internal/s3select/select_test.go

            </JSON>
        </OutputSerialization>
        <RequestProgress>
            <Enabled>FALSE</Enabled>
        </RequestProgress>
    </SelectObjectContentRequest>`
    
    	for _, testCase := range testTable {
    		t.Run(testCase.name, func(t *testing.T) {
    			// Hack cpuid to the CPU doesn't appear to support AVX2.
    			// Restore whatever happens.
    			if cpuid.CPU.Supports(cpuid.AVX2) {
    				cpuid.CPU.Disable(cpuid.AVX2)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    			expectedParsingErr:    errInvalidDaysDelMarkerExpiration,
    			expectedValidationErr: nil,
    		},
    	}
    
    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			lc, err := ParseLifecycleConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != tc.expectedParsingErr {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top