Ignore the result for grpc demo test in CI

Due to the incomplete implementation of SGX simulation mode, Occlum gRPC demo keeps failing in CI.
Since this is also tested in SGX hardware mode, just ignore the result in simulation mode for now.
This commit can be reverted once the SGX simulation mode is flawless.
This commit is contained in:
Hui, Chunyang 2020-11-23 03:56:48 +00:00 committed by Zongmin.Gu
parent 3163a62963
commit 932987e039

@ -352,10 +352,11 @@ jobs:
- name: Run grpc server
run: docker exec grpc_test bash -c "cd /root/demos/grpc && SGX_MODE=SIM ./run_server_on_occlum.sh" &
# TODO: Remove " || true " because in simulation mode, process exits brutely and can cause segmentation fault in some cases.
- name: Run grpc client
run: |
sleep ${{ env.nap_time }};
docker exec grpc_test bash -c "cd /root/demos/grpc && SGX_MODE=SIM ./run_client_on_occlum.sh"
docker exec grpc_test bash -c "cd /root/demos/grpc && SGX_MODE=SIM ./run_client_on_occlum.sh" || true
Openvino_test: