We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5e4f8f commit aab5388Copy full SHA for aab5388
app-tests/run.sh
@@ -116,8 +116,10 @@ function test_data_publish {
116
function test_statistics {
117
echo "- Testing statistics feature"
118
# Make sure 2 servers & 2 clients (repeat few times cause different workers might response)
119
- for _ in {1..10}; do
120
- curl -s 'http://localhost:7002/stats' --header "Authorization: Bearer $OPAL_DATA_SOURCE_TOKEN" | grep '"client_count":2,"server_count":2'
+ for port in {7002..7003}; do
+ for _ in {1..8}; do
121
+ curl -s "http://localhost:${port}/stats" --header "Authorization: Bearer $OPAL_DATA_SOURCE_TOKEN" | grep '"client_count":2,"server_count":2'
122
+ done
123
done
124
}
125
0 commit comments