We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4f5945 commit a2ca95fCopy full SHA for a2ca95f
e2e-network/docker/expect-invoke-rest.sh
@@ -11,7 +11,6 @@ args_json_array="$5"
11
expected="$6"
12
transient_default="{}"
13
transient="${7:-$transient_default}"
14
-retries_left="${8:-20}"
15
16
if [ -z "$expected" ]; then
17
echo "Usage: ./expect-invoke.sh <rest_api_url> <channel> <chaincode> <contract:method> <args_json_array> <expected_substring> <transient_data>"
@@ -49,10 +48,6 @@ echo "$response"
49
48
50
if echo "$response" | grep -F "$expected"; then
51
echo "✅ ok (rest): $label"
52
-elif [ "$retries_left" -gt 0 ]; then
53
- echo "Retrying... ($retries_left)"
54
- sleep 1
55
- exec "$0" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$((retries_left - 1))"
56
else
57
echo "❌ failed (rest): $label | expected: $expected"
58
exit 1
0 commit comments