Skip to content

Commit 8ff553e

Browse files
committed
uniform error messages for e2e test
1 parent 09f54a2 commit 8ff553e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • e2e-tests/init-deploy

e2e-tests/init-deploy/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ compare_mongo_cmd "find" "myApp:myPass@$cluster-2.$cluster.$namespace"
7676
desc 'check number of connections'
7777
conn_count=$(run_mongo 'db.serverStatus().connections.current' "clusterAdmin:clusterAdmin123456@$cluster.$namespace" | egrep -v 'I NETWORK|W NETWORK|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|bye')
7878
if [ ${conn_count} -gt ${max_conn} ]; then
79-
echo "ERROR: Connection count (${conn_count}) exceeds maximum allowed (${max_conn})"
79+
echo "error: connection count (${conn_count}) exceeds maximum allowed (${max_conn})"
8080
exit 1
8181
fi
8282

0 commit comments

Comments
 (0)