diff options
author | Ed Santiago <santiago@redhat.com> | 2020-07-22 07:43:12 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2020-07-22 08:13:41 -0600 |
commit | 96a9ddb266c56766ae8f86292ffac3a0c6cf6087 (patch) | |
tree | 3404258556b5a0db01ffb140450c835737a05d13 /test/e2e/common_test.go | |
parent | 9f5d1462be20c86afe363750ecc20ee89e0b3978 (diff) | |
download | podman-96a9ddb266c56766ae8f86292ffac3a0c6cf6087.tar.gz podman-96a9ddb266c56766ae8f86292ffac3a0c6cf6087.tar.bz2 podman-96a9ddb266c56766ae8f86292ffac3a0c6cf6087.zip |
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 <santiago@redhat.com>
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r-- | test/e2e/common_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
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) }) |