We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2febbd8 commit c1f333aCopy full SHA for c1f333a
tests/framework/e2e/cluster_test.go
@@ -34,12 +34,12 @@ func TestEtcdServerProcessConfig(t *testing.T) {
34
}{
35
{
36
name: "Default",
37
- config: NewConfig(),
+ config: NewConfig(WithBasePort(20000)),
38
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",
+ "--listen-client-urls=http://localhost:20000",
+ "--advertise-client-urls=http://localhost:20000",
+ "--listen-peer-urls=http://localhost:20001",
+ "--initial-advertise-peer-urls=http://localhost:20001",
43
"--initial-cluster-token=new",
44
"--snapshot-count=10000",
45
},
0 commit comments