From 96a9ddb266c56766ae8f86292ffac3a0c6cf6087 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Wed, 22 Jul 2020 07:43:12 -0600 Subject: CI: attempt to fix flake in login test Fixes: #5212 ...or at least I hope it does. The symptom seems to be that INTEGRATION_ROOT is not being defined in some code flows. This PR blindly implements a suggestion from Miloslav, setting INTEGRATION_ROOT in one more place. We won't actually know for a long time if this works or not, because the test failure is a flake. Signed-off-by: Ed Santiago --- test/e2e/common_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/e2e') diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go index f475a927c..e2e47230b 100644 --- a/test/e2e/common_test.go +++ b/test/e2e/common_test.go @@ -152,6 +152,8 @@ var _ = SynchronizedBeforeSuite(func() []byte { return []byte(path) }, func(data []byte) { + cwd, _ := os.Getwd() + INTEGRATION_ROOT = filepath.Join(cwd, "../../") LockTmpDir = string(data) }) -- cgit v1.2.3-54-g00ecf