diff options
Diffstat (limited to 'tests/e2e/lifecycle_test.go')
| -rw-r--r-- | tests/e2e/lifecycle_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/e2e/lifecycle_test.go b/tests/e2e/lifecycle_test.go index 08887e1..0f6cae1 100644 --- a/tests/e2e/lifecycle_test.go +++ b/tests/e2e/lifecycle_test.go @@ -46,7 +46,7 @@ func TestNamespaceLifecycleAutomation(t *testing.T) { // 2. Override the runtime base dir to a temporary location tmpRuntimeDir := t.TempDir() - profile := "e2e-lifecycle-test" + profile := "default" pidsDir := filepath.Join(tmpRuntimeDir, "profiles", profile, "pids") // Clean up before starting @@ -56,7 +56,7 @@ func TestNamespaceLifecycleAutomation(t *testing.T) { t.Run("ReferenceCounting", func(t *testing.T) { // Start a process that exits quickly - cmd1 := exec.Command(binaryPath, "--profile", profile, "--", "sleep", "0.1") + cmd1 := exec.Command(binaryPath, "--profile", "default", "--", "sleep", "0.1") cmd1.Env = append(os.Environ(), fmt.Sprintf("XDG_RUNTIME_DIR=%s", tmpRuntimeDir)) if err := cmd1.Start(); err != nil { t.Fatalf("Failed to start cmd1: %v", err) @@ -66,7 +66,7 @@ func TestNamespaceLifecycleAutomation(t *testing.T) { waitForPids(t, pidsDir, 1) // Start a second process using the same profile - cmd2 := exec.Command(binaryPath, "--profile", profile, "--", "sleep", "0.1") + cmd2 := exec.Command(binaryPath, "--profile", "default", "--", "sleep", "0.1") cmd2.Env = append(os.Environ(), fmt.Sprintf("XDG_RUNTIME_DIR=%s", tmpRuntimeDir)) if err := cmd2.Start(); err != nil { t.Fatalf("Failed to start cmd2: %v", err) |
