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:
Anton Tolchanov 2024-03-14 14:32:34 +00:00 committed by Anton Tolchanov
parent decd9893e4
commit cf8948da5f
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}