Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for detect (0.29 sec)

  1. cmd/site-replication.go

    	if rcfg != nil {
    		for _, rule := range rcfg.Rules {
    			if rule.Status != sreplication.Status(replication.Disabled) {
    				tgt, isValidARN := arnTgtMap[rule.Destination.ARN] // detect stale ARN in replication config
    				_, epFound := epDeplIDMap[tgt.URL().String()]      // detect end point change at site level
    				if !isValidARN || !epFound {
    					replMismatch = true
    					break
    				}
    			}
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/server_test.go

    	timeNow := time.Now().UTC()
    	c.Assert(creationTime.Before(timeNow), true)
    	c.Assert(timeNow.Sub(creationTime) < time.Minute*5, true)
    }
    
    // This tests validate if PUT handler can successfully detect signature mismatch.
    func (s *TestSuiteCommon) TestValidateSignature(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// HTTP request to create the bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    		t.Fatalf("Test %s: Failed to fetch the copied object: <ERROR> %s", instanceType, err)
    	}
    	r.Close()
    	if !bytes.Equal(buf.Bytes(), bytesData[0].byteData) {
    		t.Fatalf("Test: %s returned data is not expected corruption detected:", instanceType)
    	}
    }
    
    // Wrapper for calling Copy Object Part API handler tests for both Erasure multiple disks and single node setup.
    func TestAPICopyObjectPartHandler(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top