Skip to content

Commit

Permalink
Fix shell to pass CI check (ethereum-optimism#9278)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x00101010 authored Jan 31, 2024
1 parent e8145e7 commit 268d972
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions op-conductor/run_test_100times.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/bash

set -e

for i in {1..100}; do
echo "======================="
echo "Running iteration $i"
gotestsum -- -run 'TestControlLoop' ./... --count=1 --timeout=5s -race
if [ $? -ne 0 ]; then
if ! gotestsum -- -run 'TestControlLoop' ./... --count=1 --timeout=5s -race; then
echo "Test failed"
exit 1
fi
Expand Down

0 comments on commit 268d972

Please sign in to comment.