Skip to content

Commit

Permalink
Merge pull request #1568 from input-output-hk/jpraynaud/1558-fix-e2e-…
Browse files Browse the repository at this point in the history
…funds-transfer-flakiness

Fix E2E flakiness when transferring funds
  • Loading branch information
jpraynaud authored Mar 14, 2024
2 parents efb9677 + 367938d commit 22dbdf1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mithril-test-lab/mithril-devnet/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.2
0.3.3
10 changes: 10 additions & 0 deletions mithril-test-lab/mithril-devnet/mkfiles/mkfiles-mithril-payment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,18 @@ cat >> payment-mithril.sh <<EOF
# Run payment iterations
for (( j=1; j<=\${PAYMENT_ITERATIONS}; j++ ))
do
set +e
process_payment_iteration \$j
set -e
done
# Check that at least one transaction has been successfully submitted
TOTAL_TX_SUBMITTED=\$(cat ${TX_ID_OUTPUT_FILE} | wc -l)
if [ \$TOTAL_TX_SUBMITTED -eq 0 ]; then
echo ">>>>>> Error: No transaction was successfully submitted!"
exit 1
fi
EOF

chmod u+x payment-mithril.sh

0 comments on commit 22dbdf1

Please sign in to comment.