Skip to content

fix: fall back to cli delay in retry loops - #1441

Open
ayaanoncrypto wants to merge 1 commit into
hyperledger:mainfrom
ayaanoncrypto:fix/ccutils-delay-fallback-1411
Open

ayaanoncrypto wants to merge 1 commit into
hyperledger:mainfrom
ayaanoncrypto:fix/ccutils-delay-fallback-1411

Conversation

@ayaanoncrypto

Copy link
Copy Markdown

Type of change

  • Bug fix

Description

Addresses issue #1411.

Use CLI_DELAY as the fallback when DELAY is unset in the chaincode retry loops in test-network/scripts/ccutils.sh. This prevents the shell from invoking sleep without an operand while preserving any explicitly supplied DELAY value.

Additional details

The change updates retry sleeps and matching log messages in the shared helper script.

Validation:

  • bash -n test-network/scripts/ccutils.sh passed.
    • git diff --check passed.

Related issues

Closes #1411.

@ayaanoncrypto
ayaanoncrypto requested a review from a team as a code owner August 20, 2026 16:02
Signed-off-by: ayaanoncrypto <106945712+ayaanoncrypto@users.noreply.github.com>
@ayaanoncrypto
ayaanoncrypto force-pushed the fix/ccutils-delay-fallback-1411 branch from 9434936 to 07ef04d Compare August 20, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent DELAY handling causes "sleep: missing operand" in cc invoke/query flows

1 participant