From a237c3f46178b6805ef1fc91b10f386e8b7e7257 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Tue, 1 Aug 2023 12:08:55 -0600 Subject: [PATCH] CI: e2e: remove workaround for missing login file As of #19391, REGISTRY_AUTH_FILE=/nonexistent no longer causes 'podman run' to die. Signed-off-by: Ed Santiago --- test/e2e/login_logout_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/e2e/login_logout_test.go b/test/e2e/login_logout_test.go index bba775088a..54960b8d31 100644 --- a/test/e2e/login_logout_test.go +++ b/test/e2e/login_logout_test.go @@ -273,10 +273,6 @@ var _ = Describe("Podman login and logout", func() { setup.WaitWithDefaultTimeout() defer os.RemoveAll(certDir) - // FIXME: #18405, podman-run barfs if $REGISTRY_AUTH_FILE missing - err = os.WriteFile(os.Getenv("REGISTRY_AUTH_FILE"), []byte(`{"auths": {}}`), 0600) - Expect(err).ToNot(HaveOccurred(), "touching authfile") - // N/B: This second registry container shares the same auth and cert dirs // as the registry started from BeforeEach(). Since this one starts // second, re-labeling the volumes should keep SELinux happy.