Skip to content

Commit

Permalink
Fix DefaultConfig test
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksander Mistewicz <[email protected]>
  • Loading branch information
AwesomePatrol committed Dec 12, 2024
1 parent 2febbd8 commit c1f333a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/framework/e2e/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ func TestEtcdServerProcessConfig(t *testing.T) {
}{
{
name: "Default",
config: NewConfig(),
config: NewConfig(WithBasePort(20000)),
expectArgsContain: []string{
"--listen-client-urls=http://localhost:0",
"--advertise-client-urls=http://localhost:0",
"--listen-peer-urls=http://localhost:1",
"--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",
"--initial-cluster-token=new",
"--snapshot-count=10000",
},
Expand Down

0 comments on commit c1f333a

Please sign in to comment.