-
Notifications
You must be signed in to change notification settings - Fork 161
CLOUD-901 - Update test versions and deprecated tools #2104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| echo "checking member priorities" | ||
| run_mongo \ | ||
| "rs.conf().members.map(m => m.priority)" \ | ||
| "databaseAdmin:databaseAdmin123456@${cluster}-rs0.${namespace}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
| "databaseAdmin:databaseAdmin123456@${cluster}-rs0.${namespace}" \ | |
| "databaseAdmin:databaseAdmin123456@${cluster}-rs0.${namespace}" \ |
| "databaseAdmin:databaseAdmin123456@${cluster}-rs0.${namespace}" \ | ||
| | egrep -v 'I NETWORK|W NETWORK|F NETWORK|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:' \ | ||
| | grep -E -v 'I NETWORK|W NETWORK|F NETWORK|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match|Error saving history file:' \ | ||
| > ${tmp_dir}/priorities.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
| > ${tmp_dir}/priorities.json | |
| >${tmp_dir}/priorities.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
percona-server-mongodb-operator/e2e-tests/cross-site-sharded/run
Lines 17 to 35 in 591a1b5
| local endpoint="$1" | |
| local rsName="$2" | |
| local target_count=$3 | |
| local nodes_count=0 | |
| until [[ ${nodes_count} == ${target_count} ]]; do | |
| nodes_count=$(run_mongos 'rs.conf().members.length' "clusterAdmin:clusterAdmin123456@$endpoint" "mongodb" ":27017" \ | |
| | grep -E -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|Error saving history file:|bye' \ | |
| | $sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/') | |
| echo -n "waiting for all members to be configured in ${rsName}" | |
| let retry+=1 | |
| if [ $retry -ge 15 ]; then | |
| echo "Max retry count ${retry} reached. something went wrong with mongo cluster. Config for endpoint ${endpoint} has ${nodes_count} but expected ${target_count}." | |
| exit 1 | |
| fi | |
| echo . | |
| sleep 10 | |
| done |
commit: 591a1b5 |
CHANGE DESCRIPTION
CHECKLIST
Jira
Needs Doc) and QA (Needs QA)?Tests
compare/*-oc.yml)?Config/Logging/Testability