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>
pull/11417/head
Anton Tolchanov 2 months ago committed by Anton Tolchanov
parent decd9893e4
commit cf8948da5f

@ -14,7 +14,7 @@ import (
)
func TestGetRouteTable(t *testing.T) {
routes, err := Get(1000)
routes, err := Get(512000) // arbitrarily large
if err != nil {
t.Fatal(err)
}

Loading…
Cancel
Save