Skip to content

Commit 1d8847e

Browse files
committed
Scale up + disable tls in a single update
1 parent dfb9424 commit 1d8847e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

docker/mongodb-kubernetes-tests/tests/tls/e2e_tls_disable_and_scale_up.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,11 @@ def test_rs_is_running(replica_set: MongoDB):
3838
def test_tls_is_disabled_and_scaled_up(replica_set: MongoDB):
3939
replica_set.load()
4040
replica_set["spec"]["members"] = 5
41-
42-
replica_set.update()
43-
44-
45-
@pytest.mark.e2e_disable_tls_scale_up
46-
def test_tls_is_disabled_and_scaled_up(replica_set: MongoDB):
47-
replica_set.load()
4841
replica_set["spec"]["security"]["tls"]["enabled"] = False
4942
del replica_set["spec"]["additionalMongodConfig"]
5043

5144
replica_set.update()
5245

5346
# timeout is longer because the operator first needs to
54-
# disable TLS and then, scale down one by one.
47+
# disable TLS and then, scale up one by one.
5548
replica_set.assert_reaches_phase(Phase.Running, timeout=800)

0 commit comments

Comments
 (0)