Skip to content

Commit 2907812

Browse files
authored
Test: Fix flaky snapshot ccaas test with (#648)
1 parent 674b666 commit 2907812

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

e2e-network/docker/test-04-v3-snapshot-ccaas.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,12 @@ echo "$user_token_response"
122122
user_token="$(echo "$user_token_response" | jq -r '.token')"
123123

124124
# check if state is kept after restoration
125+
sleep 2
126+
125127
expectInvokeRest "$fablo_rest_org1 $user_token" "my-channel1" "chaincode1" \
126128
"KVContract:get" '["name"]' \
127129
'{"response":{"success":"Mr Freeze"}}'
130+
128131
expectInvokeRest "$fablo_rest_org1 $user_token" "my-channel1" "chaincode1" \
129132
"KVContract:getPrivateMessage" '["_implicit_org_Org1MSP"]' \
130133
'{"success":"RHIgVmljdG9yIEZyaWVz"}'

0 commit comments

Comments
 (0)