MCPcopy
hub / github.com/minio/minio-go / testComposeObjectErrorCasesV2

Function testComposeObjectErrorCasesV2

functional_tests.go:9543–9557  ·  view source on GitHub ↗

Test expected error cases

()

Source from the content-addressed store, hash-verified

9541
9542// Test expected error cases
9543func testComposeObjectErrorCasesV2() {
9544 // initialize logging params
9545 startTime := time.Now()
9546 testName := getFuncName()
9547 function := "ComposeObject(destination, sourceList)"
9548 args := map[string]interface{}{}
9549
9550 c, err := NewClient(ClientConfig{CredsV2: true})
9551 if err != nil {
9552 logError(testName, function, args, startTime, "", "MinIO v2 client object creation failed", err)
9553 return
9554 }
9555
9556 testComposeObjectErrorCasesWrapper(c)
9557}
9558
9559func testComposeMultipleSources(c *minio.Client) {
9560 // initialize logging params

Callers 1

mainFunction · 0.85

Calls 4

getFuncNameFunction · 0.85
NewClientFunction · 0.85
logErrorFunction · 0.85

Tested by

no test coverage detected