headscale/integration/dockertestutil
Kristoffer Dalby eec3844f24 integration/dockertestutil: wait for libnetwork settle on reconnect
DisconnectContainerFromNetwork and ReconnectContainerToNetwork
returned as soon as the docker API call completed, but libnetwork
bridge reprogramming continued for several seconds after. The HA
disconnect tests then raced and bounced between healthy and broken
bridges. Poll until the container's endpoint is gone (on
disconnect) or reconciled (on reconnect), and on the
"conflicts with existing route" surface clear the stale subnet
route from the netns and retry. Settle is now baked into the
primitive so every caller benefits.
2026-05-18 17:18:08 +02:00
..
auth.go integration: authenticate Docker Hub pulls and retry transient errors 2026-05-18 17:18:08 +02:00
build.go cmd/hi: improve test cleanup to reduce CI disk usage (#2881) 2025-11-28 16:59:54 +01:00
config.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
execute.go integration: make docker execute and ping timeouts CI-aware 2026-03-31 22:06:25 +02:00
logs.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
network.go integration/dockertestutil: wait for libnetwork settle on reconnect 2026-05-18 17:18:08 +02:00
network_test.go integration: retry transient docker network ops 2026-04-30 12:52:05 +01:00
retry.go integration/dockertestutil: wait for libnetwork settle on reconnect 2026-05-18 17:18:08 +02:00