Change distributed server wording.

This commit is contained in:
Harshavardhana
2016-09-09 15:32:08 -07:00
parent eae0281c64
commit 43befab8ef
4 changed files with 29 additions and 6 deletions

View File

@@ -262,8 +262,13 @@ func prepareFormatXLHealFreshDisks(obj ObjectLayer) ([]StorageAPI, error) {
}
func TestFormatXLHealFreshDisks(t *testing.T) {
nDisks := 16
fsDirs, err := getRandomDisks(nDisks)
if err != nil {
t.Fatal(err)
}
// Create an instance of xl backend.
obj, fsDirs, err := getXLObjectLayer()
obj, err := getXLObjectLayer(fsDirs)
if err != nil {
t.Error(err)
}
@@ -289,8 +294,13 @@ func TestFormatXLHealFreshDisks(t *testing.T) {
}
func TestFormatXLHealFreshDisksErrorExpected(t *testing.T) {
nDisks := 16
fsDirs, err := getRandomDisks(nDisks)
if err != nil {
t.Fatal(err)
}
// Create an instance of xl backend.
obj, fsDirs, err := getXLObjectLayer()
obj, err := getXLObjectLayer(fsDirs)
if err != nil {
t.Error(err)
}
@@ -568,8 +578,13 @@ func TestSavedUUIDOrder(t *testing.T) {
// Test initFormatXL() when disks are expected to return errors
func TestInitFormatXLErrors(t *testing.T) {
nDisks := 16
fsDirs, err := getRandomDisks(nDisks)
if err != nil {
t.Fatal(err)
}
// Create an instance of xl backend.
obj, fsDirs, err := getXLObjectLayer()
obj, err := getXLObjectLayer(fsDirs)
if err != nil {
t.Fatal(err)
}