Skip to content

Commit 4aad52d

Browse files
author
Nelson Wang
committed
Bad assertion change
1 parent 4087e53 commit 4aad52d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/test_docker_splunk.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2178,13 +2178,9 @@ def test_compose_1idx3sh1cm1dep(self):
21782178
self.logger.info("Attempt #{}: checking internal search host count".format(n+1))
21792179
search_providers, distinct_hosts = self.search_internal_distinct_hosts("sh1", password=self.password)
21802180
assert len(search_providers) == 2
2181-
assert "idx1" in search_providers
2182-
assert "cm1" in search_providers
2183-
assert "dep1" in search_providers
2184-
assert "sh1" in search_providers
2185-
assert "sh2" in search_providers
2186-
assert "sh3" in search_providers
2181+
assert "idx1" in search_providers and "sh1" in search_providers
21872182
assert distinct_hosts == 6
2183+
break
21882184
except Exception as e:
21892185
self.logger.error("Attempt #{} error: {}".format(n+1, str(e)))
21902186
if n < RETRIES-1:

0 commit comments

Comments
 (0)