From 5564a51acf4897c7981808d8bdd28e1c016caca1 Mon Sep 17 00:00:00 2001 From: Christina Ying Wang Date: Mon, 2 Oct 2023 12:47:50 -0700 Subject: [PATCH] Add tmpfs for /mnt/root/tmp in test env This is to prevent the target state cache from getting written to host during tests. Change-type: patch Signed-off-by: Christina Ying Wang --- docker-compose.test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.test.yml b/docker-compose.test.yml index fbe966e2..559090e3 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -25,6 +25,7 @@ services: - ./test/lib/wait-for-it.sh:/wait-for-it.sh tmpfs: - /data # sqlite3 database + - /mnt/root/tmp # The service setup mock-systemd: