2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 09:58:09 +00:00

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 <avagin@google.com>
This commit is contained in:
Andrei Vagin 2024-12-07 00:08:59 +00:00 committed by Radostin Stoyanov
parent 6d1da61482
commit d46cbf76ed

View File

@ -24,9 +24,10 @@ RUN apt-install protobuf-c-compiler \
gcc \ gcc \
maven maven
RUN mkdir -p /etc/criu && echo 'ghost-limit 16777216' > /etc/criu/default.conf
COPY . /criu COPY . /criu
WORKDIR /criu WORKDIR /criu
RUN make mrproper && make -j $(nproc) CC="$CC" 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