wgengine/router/osrouter: fix privileged tests missing fake netfilter runner
These test failures were never caught by CI because the package in question was missing from our privileged tests list. tailscale/corp#40007 covers improving our process around this. Fixes #19316 Signed-off-by: Amal Bansode <amal@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
5e81840b57
commit
b4c0d67f8b
@@ -1209,7 +1209,9 @@ func TestRuleDeletedEvent(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestDelRouteIdempotent(t *testing.T) {
|
func TestDelRouteIdempotent(t *testing.T) {
|
||||||
|
fake := NewFakeOS(t)
|
||||||
lt, _ := newLinuxRootTest(t)
|
lt, _ := newLinuxRootTest(t)
|
||||||
|
lt.r.nfr = fake.nfr
|
||||||
defer lt.Close()
|
defer lt.Close()
|
||||||
|
|
||||||
for _, s := range []string{
|
for _, s := range []string{
|
||||||
@@ -1235,7 +1237,9 @@ func TestDelRouteIdempotent(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestAddRemoveRules(t *testing.T) {
|
func TestAddRemoveRules(t *testing.T) {
|
||||||
|
fake := NewFakeOS(t)
|
||||||
lt, _ := newLinuxRootTest(t)
|
lt, _ := newLinuxRootTest(t)
|
||||||
|
lt.r.nfr = fake.nfr
|
||||||
defer lt.Close()
|
defer lt.Close()
|
||||||
r := lt.r
|
r := lt.r
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user