Skip to content

Commit

Permalink
Update version-service test.
Browse files Browse the repository at this point in the history
  • Loading branch information
inelpandzic committed Apr 5, 2024
1 parent 6a3d761 commit a679e95
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
"product": "psmdb-operator",
"matrix": {
"mongod": {
"7.0.7-4": {
"image_path": "percona/percona-server-mongodb:7.0.7-4",
"image_hash": "36b99f78b13871e5caf458faaec83176c90271586010fa3130d1a544f31d06f4",
"status": "available",
"critical": false
},
"7.0.5-3": {
"image_path": "percona/percona-server-mongodb:7.0.5-3",
"image_hash": "d1a8d3403bd57b260652056ba77ee4305e9628067f51ae310f1741ee08b19cf0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
updateStrategy: SmartUpdate
upgradeOptions:
versionServiceEndpoint: http://version-service:11000
apply: 4.4.8-9
apply: 6.0.3-2
schedule: "0 2 * * *"
replsets:
- name: rs0
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/version-service/run
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ kubectl_bin delete pod -l run=version-service ${OPERATOR_NS:+-n $OPERATOR_NS}
check_telemetry_transfer "http://version-service-cr:11000" "disabled" "disabled"

cases=("version-service-exact" "version-service-recommended" "version-service-latest" "version-service-major" "version-service-unreachable")
expected_images=("percona/percona-server-mongodb:4.4.8-9" "percona/percona-server-mongodb:6.0.3-2" "percona/percona-server-mongodb:6.0.4-3" "percona/percona-server-mongodb:5.0.14-12" "$IMAGE_MONGOD")
expected_images=("percona/percona-server-mongodb:6.0.3-2" "percona/percona-server-mongodb:7.0.5-3" "percona/percona-server-mongodb:7.0.7-4" "percona/percona-server-mongodb:5.0.14-12" "$IMAGE_MONGOD")

for i in "${!cases[@]}"; do
desc "test ${cases[$i]}"
Expand Down

0 comments on commit a679e95

Please sign in to comment.