Skip to content

Commit 7e6c245

Browse files
committed
test(cluster): give the etcd timing tests' entrypoint harness the API port flag
The server argument builders now read api_port_flags, which the harness did not set, so every one of its entrypoint tests failed on an unbound variable.
1 parent 272cc6c commit 7e6c245

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎tests/unit/test_cluster_etcd_timing.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,10 @@ def server_args(self, builder: str, **env: str) -> list[str]:
185185
'vpn_auth="name=tailscale,joinKey=example"',
186186
'mesh_ip="100.64.0.1"',
187187
function_source("set_etcd_timing_flags"),
188+
function_source("set_api_port_flags"),
188189
function_source(builder),
189190
"set_etcd_timing_flags",
191+
"set_api_port_flags",
190192
f"{builder}",
191193
'printf "%s\\n" "$server_args"',
192194
]

0 commit comments

Comments
 (0)