File tree Expand file tree Collapse file tree 4 files changed +7
-11
lines changed Expand file tree Collapse file tree 4 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -36,21 +36,21 @@ jobs:
36
36
runs-on : ubuntu-latest
37
37
steps :
38
38
- uses : actions/checkout@v1
39
+ - run : cargo build --verbose
39
40
- run : |
40
41
cargo run &
41
- sleep 5
42
42
cargo test --test normal
43
43
44
44
integ-test-persistence :
45
45
name : Persistence integration tests
46
46
runs-on : ubuntu-latest
47
47
steps :
48
48
- uses : actions/checkout@v1
49
+ - run : cargo build --verbose
49
50
- name : Tests executed before the shutdown
50
51
run : |
51
52
cargo run &
52
53
SERVER_PID=$!
53
- sleep 5
54
54
cargo test --test persistent-before
55
55
kill $SERVER_PID
56
56
# Create a fake mapping file for the root application, the Mbed Provider and
63
63
- name : Tests executed after the shutdown
64
64
run : |
65
65
cargo run &
66
- sleep 5
67
66
cargo test --test persistent-after
68
67
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ uuid = "0.7.4"
13
13
threadpool = " 1.7.1"
14
14
15
15
[dev-dependencies ]
16
- parsec-client-test = { git = " https://github.com/parallaxsecond/parsec-client-test" , tag = " 0.1.0 " }
16
+ parsec-client-test = { git = " https://github.com/parallaxsecond/parsec-client-test" , tag = " 0.1.1 " }
17
17
18
18
[build-dependencies ]
19
19
bindgen = " 0.50.0"
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ cargo clippy || exit 1
44
44
# ###########################
45
45
cargo run &
46
46
SERVER_PID=$!
47
- sleep 5
48
47
49
48
cargo test --test normal || exit 1
50
49
@@ -55,7 +54,6 @@ kill $SERVER_PID
55
54
# ################################
56
55
cargo run &
57
56
SERVER_PID=$!
58
- sleep 5
59
57
60
58
cargo test --test persistent-before || exit 1
61
59
@@ -69,7 +67,6 @@ printf '\xe0\x19\xb2\x5c' > mappings/cm9vdA==/1/VGVzdCBLZXk\=
69
67
70
68
cargo run &
71
69
SERVER_PID=$!
72
- sleep 5
73
70
74
71
cargo test --test persistent-after || exit 1
75
72
You can’t perform that action at this time.
0 commit comments