|
9 | 9 | from kubetester.mongodb_user import MongoDBUser |
10 | 10 | from kubetester.omtester import skip_if_cloud_manager |
11 | 11 | from kubetester.phase import Phase |
12 | | -from mypyc.irbuild.function import check_native_override |
13 | 12 | from pytest import fixture, mark |
14 | 13 | from tests import test_logger |
15 | 14 | from tests.common.search import movies_search_helper |
16 | 15 | from tests.common.search.search_tester import SearchTester |
17 | 16 | from tests.conftest import get_default_operator, get_issuer_ca_filepath |
18 | | -from tests.opsmanager.conftest import custom_om_prev_version |
19 | 17 | from tests.search.om_deployment import get_ops_manager |
20 | 18 |
|
21 | 19 | logger = test_logger.get_test_logger(__name__) |
@@ -130,8 +128,7 @@ def test_install_operator(namespace: str, operator_installation_config: dict[str |
130 | 128 | @skip_if_cloud_manager |
131 | 129 | def test_create_ops_manager(namespace: str): |
132 | 130 | ops_manager = get_ops_manager(namespace) |
133 | | - if ops_manager is not None: |
134 | | - ops_manager.update() |
| 131 | + ops_manager.update() |
135 | 132 | ops_manager.om_status().assert_reaches_phase(Phase.Running, timeout=1200) |
136 | 133 | ops_manager.appdb_status().assert_reaches_phase(Phase.Running, timeout=600) |
137 | 134 |
|
@@ -215,11 +212,6 @@ def check_mongod_parameters(): |
215 | 212 | run_periodically(lambda: check_mongod_parameters(), timeout=200) |
216 | 213 |
|
217 | 214 |
|
218 | | -@mark.e2e_search_enterprise_tls |
219 | | -def test_wait_for_database_resource_ready2(mdb: MongoDB): |
220 | | - mdb.assert_reaches_phase(Phase.Running, timeout=300) |
221 | | - |
222 | | - |
223 | 215 | @mark.e2e_search_enterprise_tls |
224 | 216 | def test_validate_tls_connections(mdb: MongoDB, mdbs: MongoDBSearch, namespace: str): |
225 | 217 | validate_tls_connections(mdb, mdbs, namespace) |
|
0 commit comments