Fix cookied-dop-sl2 test for monitoring_remote_storage_adapter
- Container 'monitoring_remote_storage_adapter' is now optional
and exists only with InfluxDB.
- Sync grains before mine.update
Related-issue: #PROD-17502
Change-Id: I1b9e7f530b4ab4f2313495e768c8bf2dbf0e4613
diff --git a/tcp_tests/managers/sl_manager.py b/tcp_tests/managers/sl_manager.py
index 142cd3f..5c1b3a1 100644
--- a/tcp_tests/managers/sl_manager.py
+++ b/tcp_tests/managers/sl_manager.py
@@ -150,7 +150,7 @@
"""
for node in nodes:
services_status = self.get_service_info_from_node(node)
- assert len(services_status) == len(expected_services), \
+ assert set(services_status) >= set(expected_services), \
'Some services are missed on node {0}. ' \
'Current service list: {1}\nExpected service list: {2}' \
.format(node, services_status, expected_services)