seaweedfs/test/testutil
Chris Lu a761441926
fix(test): reserve mini ports on all interfaces; bound risingwave cleanup shell (#9545)
The 127.0.0.1-only reservation in AllocateMiniPorts/AllocatePortSet let
another process hold the gRPC port on a different interface, so weed
mini's isPortAvailable check failed and it shifted master.grpc. weed
shell -master=<HTTP> still derives grpc as HTTP+10000 and dialed the
unused port, hanging until the 30s context deadline killed it. Bind the
reservation listeners on :port to match mini's check.

Also bound listFilerContents in catalog_risingwave with a 30s
exec.CommandContext so a hung weed shell during failure-cleanup can't
burn the 20-minute test budget.
2026-05-18 14:16:22 -07:00
..
helpers.go test: consolidate port allocation into shared test/testutil package (#8982) 2026-04-08 11:30:02 -07:00
ports_test.go fix(test): avoid port collision between master gRPC and volume ports 2026-04-21 23:33:57 -07:00
ports.go fix(test): reserve mini ports on all interfaces; bound risingwave cleanup shell (#9545) 2026-05-18 14:16:22 -07:00