Commit 268d972d authored by Francis Li's avatar Francis Li Committed by GitHub

Fix shell to pass CI check (#9278)

parent e8145e7c
#!/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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment