[server][test] Add a utility automatically to execute run-test.sh infinitely unless the test fails.