Fix Fish demo and related CI

This commit is contained in:
Hui, Chunyang 2021-08-13 03:32:56 +00:00 committed by Zongmin.Gu
parent 3df12943a1
commit 0d20f9e5ec
2 changed files with 3 additions and 3 deletions

@ -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

@ -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