Skip to content

Commit

Permalink
quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk committed Nov 15, 2024
1 parent 3b763f5 commit f0f029d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rust/periodic_tasks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ deploy:
.SILENT: test
test: deploy
# Validate the counters are non-zero.
while [ "$(dfx canister call heartbeat counter --output json)" = "0" ]; do sleep 1; done && dfx canister call heartbeat counter --output json | grep -vw 0 && echo 'PASS'
while [ "$(dfx canister call timer counter --output json)" = "0" ]; do sleep 1; done && dfx canister call timer counter --output json | grep -vw 0 && echo 'PASS'
while [ "$(dfx canister call heartbeat counter --output json)" = "0" ]; do sleep 1; done && dfx canister call heartbeat counter --output json | grep -vw "0" && echo 'PASS'
while [ "$(dfx canister call timer counter --output json)" = "0" ]; do sleep 1; done && dfx canister call timer counter --output json | grep -vw "0" && echo 'PASS'
# Validate the cycles used for periodic tasks are non-zero.
while [ "$(dfx canister call heartbeat cycles_used --output json)" = "0" ]; do sleep 1; done && dfx canister call heartbeat cycles_used --output json | grep -vw 0 && echo 'PASS'
while [ "$(dfx canister call timer cycles_used --output json)" = "0" ]; do sleep 1; done && dfx canister call timer cycles_used --output json | grep -vw 0 && echo 'PASS'
while [ "$(dfx canister call heartbeat cycles_used --output json)" = "0" ]; do sleep 1; done && dfx canister call heartbeat cycles_used --output json | grep -vw "0" && echo 'PASS'
while [ "$(dfx canister call timer cycles_used --output json)" = "0" ]; do sleep 1; done && dfx canister call timer cycles_used --output json | grep -vw "0" && echo 'PASS'

.PHONY: clean
.SILENT: clean
Expand Down

0 comments on commit f0f029d

Please sign in to comment.