On Windows get_host() gets the IP address from the traefik service, and will fail with an empty return value if the service is not yet ready.
The assert failures in get_host() don't cause a direct test failure if $(get_host) is just interpolated into a string, so it needs to be called once by itself.
On Windows get_host() gets the IP address from the traefik service, and will fail with an empty return value if the service is not yet ready.
The assert failures in get_host() don't cause a direct test failure if $(get_host) is just interpolated into a string, so it needs to be called once by itself.
Sample failure that should be fixed by this: https://github.com/rancher-sandbox/rancher-desktop/actions/runs/9104774312/job/25029228803
Note that the
wasm.bats
test already had this check: https://github.com/rancher-sandbox/rancher-desktop/blob/7bffdd78a78f664ac9565025a552e68d43a4f2de/bats/tests/k8s/wasm.bats#L105-L107