Skip to content

Commit

Permalink
Updating expected out
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu committed Jan 7, 2025
1 parent aa85149 commit 10fa31c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bin/test_runlocal
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,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)
[[ $systems == 412 ]] || fail Expected 412 system operations, found $systems

deletes=$(find out/registries/ -name \*update_model.json | xargs jq .cloud.operation | fgrep DELETE | wc -l)
[[ $deletes == 2 ]] || fail Expected 2 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)
[[ $binds == 4 ]] || fail Expected 4 bind operations, found $binds

echo Done with successful runlocal validation.

0 comments on commit 10fa31c

Please sign in to comment.