distributed-XL: Support to run one minio process per export even on the same machine. (#2999)
fixes #2983
This commit is contained in:
committed by
Harshavardhana
parent
41f9ab1c69
commit
32c3a558e9
@@ -452,11 +452,11 @@ func TestLockServers(t *testing.T) {
|
||||
{
|
||||
srvCmdConfig: serverCmdConfig{
|
||||
isDistXL: true,
|
||||
disks: []string{
|
||||
"localhost:/mnt/disk1",
|
||||
"1.1.1.2:/mnt/disk2",
|
||||
"1.1.2.1:/mnt/disk3",
|
||||
"1.1.2.2:/mnt/disk4",
|
||||
endPoints: []storageEndPoint{
|
||||
{"localhost", 9000, "/mnt/disk1"},
|
||||
{"1.1.1.2", 9000, "/mnt/disk2"},
|
||||
{"1.1.2.1", 9000, "/mnt/disk3"},
|
||||
{"1.1.2.2", 9000, "/mnt/disk4"},
|
||||
},
|
||||
},
|
||||
totalLockServers: 1,
|
||||
@@ -465,14 +465,14 @@ func TestLockServers(t *testing.T) {
|
||||
{
|
||||
srvCmdConfig: serverCmdConfig{
|
||||
isDistXL: true,
|
||||
disks: []string{
|
||||
"localhost:/mnt/disk1",
|
||||
"localhost:/mnt/disk2",
|
||||
"1.1.2.1:/mnt/disk3",
|
||||
"1.1.2.2:/mnt/disk4",
|
||||
endPoints: []storageEndPoint{
|
||||
{"localhost", 9000, "/mnt/disk1"},
|
||||
{"localhost", 9000, "/mnt/disk2"},
|
||||
{"1.1.2.1", 9000, "/mnt/disk3"},
|
||||
{"1.1.2.2", 9000, "/mnt/disk4"},
|
||||
},
|
||||
ignoredDisks: []string{
|
||||
"localhost:/mnt/disk2",
|
||||
ignoredEndPoints: []storageEndPoint{
|
||||
{"localhost", 9000, "/mnt/disk2"},
|
||||
},
|
||||
},
|
||||
totalLockServers: 1,
|
||||
|
||||
Reference in New Issue
Block a user