Skip to content

Commit

Permalink
fix mongodb
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Aug 19, 2024
1 parent a86ec49 commit d7a23ea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cratedb_toolkit/testing/testcontainers/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,10 @@ def start(self):
logger.info(f"Starting container: {container_id} ({container_name})")
self._container.start()

self._connect()
if hasattr(self, "_connect"):
self._connect()
return self

def _connect(self):
pass

def stop(self, **kwargs):
"""
Shut down container again, unless "keepalive" is enabled.
Expand Down

0 comments on commit d7a23ea

Please sign in to comment.