Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit 7d4603e

Browse files
authored
Fix a typo in test script (#50)
1 parent 73fed8a commit 7d4603e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ play() {
5858
log_count=0
5959
wait_for_contract() {
6060
wait_with_backoff 'curl --fail --silent http://localhost:9080/api/contract/instance/'$CONTRACT_ID'/status > status.json && [[ "$(jq -r '\''.cicCurrentState.logs | length'\'' < status.json)" -gt "'$log_count'" && ("$(jq -r .cicCurrentState.lastLogs[0]._logMessageContent < status.json)" == "Waiting for guess or lock endpoint..." || "$(jq -r .cicStatus < status.json)" == "Done") ]]' "Contract not ready"
61-
log_count="$(jq -r '.cicCUrrentState.logs | length' <status.json)"
61+
log_count="$(jq -r '.cicCurrentState.logs | length' <status.json)"
6262
}
6363

6464
wait_for_contract

0 commit comments

Comments
 (0)