From ffd7065a74e39ee121d2f1c1528b5c4a790590a7 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Tue, 21 Dec 2021 14:33:25 +0100 Subject: [PATCH] engine.#Exec: fix mount cache flaky test Fixes #1274 Signed-off-by: Andrea Luzzardi --- tests/tasks.bats | 3 +-- tests/tasks/exec/mount_cache.cue | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/tasks.bats b/tests/tasks.bats index 79d7cc4a..72f80aba 100644 --- a/tests/tasks.bats +++ b/tests/tasks.bats @@ -41,8 +41,7 @@ setup() { "$DAGGER" --europa up ./env.cue "$DAGGER" --europa up ./hosts.cue - # FIXME: disabled - flaky - # "$DAGGER" --europa up ./mount_cache.cue + "$DAGGER" --europa up ./mount_cache.cue "$DAGGER" --europa up ./mount_fs.cue TESTSECRET="hello world" "$DAGGER" --europa up ./mount_secret.cue "$DAGGER" --europa up ./mount_tmp.cue diff --git a/tests/tasks/exec/mount_cache.cue b/tests/tasks/exec/mount_cache.cue index 7688cde6..4ed586cb 100644 --- a/tests/tasks/exec/mount_cache.cue +++ b/tests/tasks/exec/mount_cache.cue @@ -32,7 +32,7 @@ engine.#Plan & { input: image.output mounts: cache: { dest: "/cache" - contents: sharedCache + contents: exec.mounts.cache.contents } args: [ "sh", "-c",