summaryrefslogtreecommitdiff
path: root/tests/e2e/mount_leak_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/e2e/mount_leak_test.go')
-rw-r--r--tests/e2e/mount_leak_test.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/e2e/mount_leak_test.go b/tests/e2e/mount_leak_test.go
index 428675f..e3fe071 100644
--- a/tests/e2e/mount_leak_test.go
+++ b/tests/e2e/mount_leak_test.go
@@ -13,10 +13,7 @@ import (
// TestDNSMountLeak verifies that /etc/resolv.conf bind mounts are cleaned up
// after a profile is stopped.
func TestDNSMountLeak(t *testing.T) {
- bin, err := GetBinaryPath()
- if err != nil {
- t.Fatal(err)
- }
+ bin := EnsureBinary(t)
profile := "leak-test"
dnsServer := "8.8.8.8"