Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Testing (0.16 sec)

  1. cmd/server_test.go

    	}
    	globalServerCtxt.StrictS3Compat = true
    	for i, testCase := range testCases {
    		t.Run(fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.serverType), func(t *testing.T) {
    			runAllTests(testCase, &check{t, testCase.serverType})
    		})
    	}
    }
    
    // Setting up the test suite.
    // Starting the Test server with temporary backend.
    func (s *TestSuiteCommon) SetUpSuite(c *check) {
    	if s.secure {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    // has delete marker replication or delete replication (MinIO extension to allow deletes where version id
    // is specified) enabled.
    // Similar to bucket replication for PUT operation, soft delete (a.k.a setting delete marker) and
    // permanent deletes (by specifying a version ID in the delete operation) have three states "Pending", "Complete"
    // and "Failed" to mark the status of the replication of "DELETE" operation. All failed operations can
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  3. cmd/object-handlers_test.go

    func TestAPIPutObjectPartHandler(t *testing.T) {
    	defer DetectTestLeak(t)()
    	ExecExtendedObjectLayerAPITest(t, testAPIPutObjectPartHandler, []string{"PutObjectPart"})
    }
    
    func testAPIPutObjectPartHandler(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    	// Initiate Multipart upload for testing PutObjectPartHandler.
    	testObject := "testobject"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    		return madmin.ReplicateEditStatus{}, errSRInvalidRequest(fmt.Errorf("a peer cluster, rather than the local cluster (endpoint=%s, deployment-id=%s) needs to be specified while setting a 'sync' replication mode", peer.Endpoint, peer.DeploymentID))
    	}
    
    	for _, v := range sites.Sites {
    		if peer.DeploymentID == v.DeploymentID {
    			found = true
    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)
  5. src/cmd/cgo/internal/test/callback.go

    	if f == nil {
    		panic("missing callback function")
    	}
    	f()
    }
    
    func testCallback(t *testing.T) {
    	var x = false
    	nestedCall(func() { x = true })
    	if !x {
    		t.Fatal("nestedCall did not call func")
    	}
    }
    
    func testCallbackGC(t *testing.T) {
    	nestedCall(runtime.GC)
    }
    
    func testCallbackPanic(t *testing.T) {
    	// Make sure panic during callback unwinds properly.
    	if lockedOSThread() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    func getClusterMetaInfo(ctx context.Context) []byte {
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil {
    		return nil
    	}
    
    	// Add a ten seconds timeout because getting profiling data
    	// is critical for debugging, in contrary to getting cluster info
    	ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
    	defer cancel()
    
    	resultCh := make(chan madmin.ClusterRegistrationInfo)
    
    	go func() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top