mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
net/routetable: increase route limit used by the test
I was running all tests while preparing a recent stable release, and this was failing because my computer is connected to a fairly large tailnet. ``` --- FAIL: TestGetRouteTable (0.01s) routetable_linux_test.go:32: expected at least one default route; ... ``` ``` $ ip route show table 52 | wc -l 1051 ``` Updates #cleanup Signed-off-by: Anton Tolchanov <anton@tailscale.com>
This commit is contained in:
parent
decd9893e4
commit
cf8948da5f
@ -14,7 +14,7 @@
|
||||
)
|
||||
|
||||
func TestGetRouteTable(t *testing.T) {
|
||||
routes, err := Get(1000)
|
||||
routes, err := Get(512000) // arbitrarily large
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user