diff options
Diffstat (limited to 'internal/namespace/namespace_test.go')
| -rw-r--r-- | internal/namespace/namespace_test.go | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/internal/namespace/namespace_test.go b/internal/namespace/namespace_test.go index e39710d..10511dd 100644 --- a/internal/namespace/namespace_test.go +++ b/internal/namespace/namespace_test.go @@ -1,4 +1,4 @@ -//go:build linux && integration +//go:build linux package namespace @@ -6,17 +6,8 @@ import ( "testing" ) -func TestNamespaceCreation(t *testing.T) { - // Test that CLONE_NEWUSER and CLONE_NEWNET are called in the correct sequence and a netns is created. - t.Skip("not implemented") -} - -func TestNamespacePinning(t *testing.T) { - // Test that the network namespace is bind-mounted to /run/user/$UID/wg-wrap/ and persists after process exit. - t.Skip("not implemented") -} - -func TestRoutingSetup(t *testing.T) { - // Test that the TUN device is created and the routing table is configured with the correct VPN subnet. - t.Skip("not implemented") +// We move the complex isolation testing to tests/e2e to avoid +// issues with Go's temporary test binaries and process replacement. +func TestNamespacePackage(t *testing.T) { + t.Skip("Namespace isolation tests moved to tests/e2e") } |
