We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72d75fe + e9f0934 commit 5a2ee52Copy full SHA for 5a2ee52
pmm_psmdb-pbm_setup/test/test.py
@@ -26,8 +26,9 @@ def test_pmm_services():
26
assert "service_id" in mongodb[0]['service_id']
27
for service in mongodb:
28
assert "rs" or "mongos" in service['service_name']
29
- pytest.service_id = mongodb[0]['service_id']
30
- print('The first service_id will be used in the next steps')
+ if not "mongos" in service['service_name']:
+ pytest.service_id = service['service_id']
31
+ print('This service_id will be used in the next steps')
32
print(pytest.service_id)
33
34
def test_pmm_add_location():
0 commit comments