Skip to content

Commit

Permalink
Fix runlocal out
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu committed Jan 26, 2025
1 parent 26e4a38 commit 386287b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/test_runlocal
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ cat out/message_capture.log
echo Captured $(wc -l out/message_capture.log) messages.

systems=$(find out/registries/ -name \*update_model.json | xargs jq .system | fgrep -v null | wc -l) || true
[[ $systems == 196 ]] || fail Expected 196 system operations, found $systems
[[ $systems == 269 ]] || fail Expected 269 system operations, found $systems

deletes=$(find out/registries/ -name \*update_model.json | xargs jq .cloud.operation | fgrep DELETE | wc -l) || true
[[ $deletes == 5 ]] || fail Expected 5 delete operations, found $deletes
[[ $deletes == 1 ]] || fail Expected 1 delete operations, found $deletes

binds=$(find out/registries/ -name \*update_model.json | xargs jq .cloud.operation | fgrep BIND | wc -l) || true
[[ $binds == 2 ]] || fail Expected 2 bind operations, found $binds
[[ $binds == 3 ]] || fail Expected 3 bind operations, found $binds

blocks=$(find out/registries/ -name \*update_model.json | xargs jq .cloud.operation | fgrep BLOCK | wc -l) || true
[[ $blocks == 1 ]] || fail Expected 1 block operations, found $blocks
Expand Down

0 comments on commit 386287b

Please sign in to comment.