File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -35,20 +35,20 @@ jobs:
35
35
36
36
- name : Run docker image
37
37
run : docker run --name zenoh_router --init --net host -d eclipse/zenoh:master
38
- continue-on-error : true
39
38
40
39
- name : Build project
41
40
run : |
42
41
make all
43
42
python3 ./build/tests/modularity.py --pub $Z_FEATURE_PUBLICATION --sub $Z_FEATURE_SUBSCRIPTION --queryable $Z_FEATURE_QUERYABLE --query $Z_FEATURE_QUERY
44
- continue-on-error : true
43
+ timeout-minutes : 5
45
44
env :
46
45
Z_FEATURE_PUBLICATION : ${{ matrix.feature_publication }}
47
46
Z_FEATURE_SUBSCRIPTION : ${{ matrix.feature_subscription }}
48
47
Z_FEATURE_QUERYABLE : ${{ matrix.feature_queryable }}
49
48
Z_FEATURE_QUERY : ${{ matrix.feature_query }}
50
49
51
50
- name : Stop docker image
51
+ if : always()
52
52
run : |
53
53
docker stop zenoh_router
54
54
docker rm zenoh_router
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ def pub_and_sub(args):
75
75
# Send "q" command to z_sub to stop it
76
76
z_sub_process .stdin .write ("q\n " )
77
77
z_sub_process .stdin .flush ()
78
+ time .sleep (1 )
78
79
79
80
# Wait for z_sub to finish
80
81
z_sub_process .wait ()
You can’t perform that action at this time.
0 commit comments