Skip to content

Commit d3cd60a

Browse files
committed
Add key checking using parsec-tool
The existance of keys after the test is run is now checked via a Parsec tool call. Signed-off-by: Ionut Mihalcea <[email protected]>
1 parent 39182dd commit d3cd60a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ci/ci.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,8 @@ MBEDTLS_INCLUDE_DIR=$(pwd)/mbedtls/include cargo build --release
6666
make -C ci/c-tests run MBED_TLS_PATH=$(pwd)/mbedtls
6767

6868
# Check that Parsec was called by checking if the service contains the key
69-
# this is done by checking if the mappings folder is empty.
70-
# Maybe use parsec-tool instead?
71-
[ "$(ls -A /tmp/mappings)" ]
69+
cargo install parsec-tool
70+
[ "$(RUST_LOG=error parsec-tool list-keys | wc -l)" -ne "0" ]
7271

7372
# Kill Parsec for clean logs
7473
pkill parsec

0 commit comments

Comments
 (0)