From d46cbf76ed51b3adb9e9575a8f9ae27476b659d6 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Sat, 7 Dec 2024 00:08:59 +0000 Subject: [PATCH] test/java: increate the ghost file limit Right now, this test fails with this error: Error (criu/files-reg.c:1031): Can't dump ghost file /criu/test/javaTests/omrvmem_000000626_Mlm48x of 2097152 size, increase limit Signed-off-by: Andrei Vagin --- scripts/build/Dockerfile.openj9-ubuntu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build/Dockerfile.openj9-ubuntu b/scripts/build/Dockerfile.openj9-ubuntu index c2cf20a36b..e190c27929 100644 --- a/scripts/build/Dockerfile.openj9-ubuntu +++ b/scripts/build/Dockerfile.openj9-ubuntu @@ -24,9 +24,10 @@ RUN apt-install protobuf-c-compiler \ gcc \ maven +RUN mkdir -p /etc/criu && echo 'ghost-limit 16777216' > /etc/criu/default.conf COPY . /criu WORKDIR /criu RUN make mrproper && make -j $(nproc) CC="$CC" -ENTRYPOINT mvn -q -f test/javaTests/pom.xml test +ENTRYPOINT mvn -f test/javaTests/pom.xml test