Skip to content

Commit 5bca61b

Browse files
committed
Fixed a yml format issue
Signed-off-by: Hanxi Zhang <hanxizh@amazon.com>
1 parent 1b23963 commit 5bca61b

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/test-flaky-cluster-slot-migration-flaky-test.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,20 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
12-
1312
- name: make
1413
run: make valgrind SERVER_CFLAGS='-Werror'
15-
1614
- name: testprep
1715
run: |
1816
sudo apt-get update
1917
sudo apt-get install tcl8.6 tclx valgrind -y
20-
2118
- name: Run test 100 times
2219
run: |
2320
FAILURES=0
2421
SUCCESSES=0
25-
2622
for i in {1..100}; do
2723
echo "========================================="
2824
echo "Run $i of 100"
2925
echo "========================================="
30-
3126
if ./runtest --valgrind --no-latency --verbose --clients 1 --timeout 2400 --single unit/cluster/test-flaky-migrate-slots; then
3227
SUCCESSES=$((SUCCESSES + 1))
3328
echo "✓ Run $i: PASSED"
@@ -36,16 +31,15 @@ jobs:
3631
echo "✗ Run $i: FAILED"
3732
fi
3833
done
39-
4034
echo "========================================="
4135
echo "SUMMARY"
4236
echo "========================================="
4337
echo "Total runs: 100"
4438
echo "Successes: $SUCCESSES"
4539
echo "Failures: $FAILURES"
4640
echo "Failure rate: $((FAILURES * 100 / 100))%"
47-
4841
if [ $FAILURES -gt 0 ]; then
4942
echo "Test is FLAKY - failed $FAILURES out of 100 runs"
5043
exit 1
51-
fi
44+
fi
45+

0 commit comments

Comments
 (0)