Skip to content

Commit cb41432

Browse files
committed
Test fixes
1 parent 38a84a0 commit cb41432

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

scripts/release/release_info_test.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,34 @@
99
def test_create_release_info_json(
1010
git_repo: Repo, readinessprobe_version: str, operator_version_upgrade_post_start_hook_version: str
1111
):
12-
git_repo.git.checkout("1.0.0")
12+
git_repo.git.checkout("1.2.0")
1313

1414
expected_json = {
1515
"images": {
1616
"mongodbOperator": {
1717
"repository": "quay.io/mongodb/mongodb-kubernetes",
1818
"platforms": ["linux/arm64", "linux/amd64"],
19-
"version": "1.0.0",
19+
"version": "1.2.0",
2020
},
2121
"initDatabase": {
2222
"repository": "quay.io/mongodb/mongodb-kubernetes-init-database",
2323
"platforms": ["linux/arm64", "linux/amd64"],
24-
"version": "1.0.0",
24+
"version": "1.2.0",
2525
},
2626
"initAppDb": {
2727
"repository": "quay.io/mongodb/mongodb-kubernetes-init-appdb",
2828
"platforms": ["linux/arm64", "linux/amd64"],
29-
"version": "1.0.0",
29+
"version": "1.2.0",
3030
},
3131
"initOpsManager": {
3232
"repository": "quay.io/mongodb/mongodb-kubernetes-init-ops-manager",
3333
"platforms": ["linux/arm64", "linux/amd64"],
34-
"version": "1.0.0",
34+
"version": "1.2.0",
3535
},
3636
"database": {
3737
"repository": "quay.io/mongodb/mongodb-kubernetes-database",
3838
"platforms": ["linux/arm64", "linux/amd64"],
39-
"version": "1.0.0",
39+
"version": "1.2.0",
4040
},
4141
"readinessprobe": {
4242
"repository": "quay.io/mongodb/mongodb-kubernetes-readinessprobe",
@@ -52,10 +52,10 @@ def test_create_release_info_json(
5252
"binaries": {
5353
"kubectl-mongodb": {
5454
"platforms": ["darwin/amd64", "darwin/arm64", "linux/amd64", "linux/arm64"],
55-
"version": "1.0.0",
55+
"version": "1.2.0",
5656
}
5757
},
58-
"helm-charts": {"mongodb-kubernetes": {"repository": "quay.io/mongodb/helm-charts", "version": "1.0.0"}},
58+
"helm-charts": {"mongodb-kubernetes": {"repository": "quay.io/mongodb/helm-charts", "version": "1.2.0"}},
5959
}
6060
expected_release_info_json = json.dumps(expected_json, indent=2)
6161
release_info_json = create_release_info_json(

0 commit comments

Comments
 (0)