Skip to content

Secure, Fast, and Extensible Sandbox runtime for AI agents.

test(egress): migrate policy relay DNS fixture

leo pein319d7462c87c
diff --git a/components/egress/fastsandbox_policy_relay_test.go b/components/egress/fastsandbox_policy_relay_test.go
index a61eeb35a..69dade440 100644
--- a/components/egress/fastsandbox_policy_relay_test.go
+++ b/components/egress/fastsandbox_policy_relay_test.go
@@ -413,8 +413,7 @@ func TestRelayPutRacingRebindNeverActivatesPredecessorPolicy(t *testing.T) {
reg := subject.NewRegistry(nil, nil)
hnft := &hookNft{}
srv := newFastSandboxPolicyServer(context.Background(), reg, hnft)
- srv.dnsRedirectInstall = func(netip.Addr, int) error { return nil }
- srv.dnsRedirectRemove = func() error { return nil }
+ srv.dnsRedirectApply = func([]netip.Addr, int) error { return nil }
pp, err := newPolicyPersistence(t.TempDir())
require.NoError(t, err)
files := make(map[string]*fakeVaultFile)