Skip to content

Commit c1f333a

Browse files
committed
Fix DefaultConfig test
Signed-off-by: Aleksander Mistewicz <[email protected]>
1 parent 2febbd8 commit c1f333a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/framework/e2e/cluster_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ func TestEtcdServerProcessConfig(t *testing.T) {
3434
}{
3535
{
3636
name: "Default",
37-
config: NewConfig(),
37+
config: NewConfig(WithBasePort(20000)),
3838
expectArgsContain: []string{
39-
"--listen-client-urls=http://localhost:0",
40-
"--advertise-client-urls=http://localhost:0",
41-
"--listen-peer-urls=http://localhost:1",
42-
"--initial-advertise-peer-urls=http://localhost:1",
39+
"--listen-client-urls=http://localhost:20000",
40+
"--advertise-client-urls=http://localhost:20000",
41+
"--listen-peer-urls=http://localhost:20001",
42+
"--initial-advertise-peer-urls=http://localhost:20001",
4343
"--initial-cluster-token=new",
4444
"--snapshot-count=10000",
4545
},

0 commit comments

Comments
 (0)