From 0d20f9e5ec95783f11c505ec51296290b8deac67 Mon Sep 17 00:00:00 2001 From: "Hui, Chunyang" Date: Fri, 13 Aug 2021 03:32:56 +0000 Subject: [PATCH] Fix Fish demo and related CI --- .github/workflows/demo_test.yml | 4 ++-- demos/fish/run_per_process_config_test.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/demo_test.yml b/.github/workflows/demo_test.yml index 781513f3..d292e8ac 100644 --- a/.github/workflows/demo_test.yml +++ b/.github/workflows/demo_test.yml @@ -134,10 +134,10 @@ jobs: run: docker exec fish_test bash -c "cd /root/occlum/demos/fish && ./download_and_build.sh" - name: Run Fish test - run: docker exec fish_test bash -c "cd /root/occlum/demos/fish && SGX_MODE=SIM ./run_fish_test.sh" & + run: docker exec fish_test bash -c "cd /root/occlum/demos/fish && SGX_MODE=SIM ./run_fish_test.sh" - name: Run Fish process rlimit test - run: docker exec fish_test bash -c "cd /root/occlum/demos/fish && SGX_MODE=SIM ./run_per_process_config_test.sh" & + run: docker exec fish_test bash -c "cd /root/occlum/demos/fish && SGX_MODE=SIM ./run_per_process_config_test.sh" Bazel_test: runs-on: ubuntu-18.04 diff --git a/demos/fish/run_per_process_config_test.sh b/demos/fish/run_per_process_config_test.sh index 62277c9d..7d6f0885 100755 --- a/demos/fish/run_per_process_config_test.sh +++ b/demos/fish/run_per_process_config_test.sh @@ -15,7 +15,7 @@ cp ../test_per_process_config.sh image/bin # Set process memory space size to very small values and will fail when running target script using default configuration new_json="$(jq '.process.default_stack_size = "1MB" | .process.default_heap_size = "1MB" | - .process.default_mmap_size = "8MB"' Occlum.json)" && \ + .process.default_mmap_size = "10MB"' Occlum.json)" && \ echo "${new_json}" > Occlum.json pushd image/bin