@ -174,7 +174,7 @@ func prepareFS() (ObjectLayer, string, error) {
return obj , fsDirs [ 0 ] , nil
return obj , fsDirs [ 0 ] , nil
}
}
func prepareXL32 ( ) ( ObjectLayer , [ ] string , error ) {
func prepareXLSets 32 ( ) ( ObjectLayer , [ ] string , error ) {
fsDirs1 , err := getRandomDisks ( 16 )
fsDirs1 , err := getRandomDisks ( 16 )
if err != nil {
if err != nil {
return nil , nil , err
return nil , nil , err
@ -1704,7 +1704,7 @@ func prepareTestBackend(instanceType string) (ObjectLayer, []string, error) {
switch instanceType {
switch instanceType {
// Total number of disks for XL sets backend is set to 32.
// Total number of disks for XL sets backend is set to 32.
case XLSetsTestStr :
case XLSetsTestStr :
return prepareXL32 ( )
return prepareXLSets 32 ( )
// Total number of disks for XL backend is set to 16.
// Total number of disks for XL backend is set to 16.
case XLTestStr :
case XLTestStr :
return prepareXL16 ( )
return prepareXL16 ( )
@ -1986,7 +1986,7 @@ func ExecObjectLayerTest(t TestErrHandler, objTest objTestType) {
// Executing the object layer tests for single node setup.
// Executing the object layer tests for single node setup.
objTest ( objLayer , FSTestStr , t )
objTest ( objLayer , FSTestStr , t )
objLayer , fsDirs , err := prepareXL16 ( )
objLayer , fsDirs , err := prepareXLSets32 ( )
if err != nil {
if err != nil {
t . Fatalf ( "Initialization of object layer failed for XL setup: %s" , err )
t . Fatalf ( "Initialization of object layer failed for XL setup: %s" , err )
}
}