Skip to content

Commit

Permalink
fix: update test 2
Browse files Browse the repository at this point in the history
Signed-off-by: Juncheng Zhu <[email protected]>
  • Loading branch information
junczhu committed Dec 15, 2024
1 parent f7b177c commit aab1e2c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions test/bats/cli-test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ load helpers

run bin/ratify verify -c $RATIFY_DIR/config_notation_crl.json -s $TEST_REGISTRY/notation:crl
assert_cmd_verify_success

stop_crl_server
}

@test "notation verifier with type test" {
Expand Down
7 changes: 5 additions & 2 deletions test/bats/helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ wait_for_process() {
}

run_crl_server() {
python3 ./scripts/crl_server.py &
echo $!
python3 ./scripts/crl_server.py
}

stop_crl_server() {
pkill -f crl_server.py
}

0 comments on commit aab1e2c

Please sign in to comment.