You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Description of Changes
Now running `python -m smoketests` no longer updates
`smoketests/config.toml` with a new identity, and also `replication`
doesn't fail when docker isn't available.
# Expected complexity level and risk
1
# Testing
- [x] those things no longer happen
---------
Co-authored-by: Zeke Foppa <[email protected]>
# Ensure containers that were brought down during a test are back up.
232
-
self.docker.compose("up", "-d")
233
-
super().tearDown()
234
-
235
-
# TODO: This function seems to run even when `--docker` is not passed, leading to errors unless `-x replication` is passed, due to the docker-related code below.
236
-
def__init__(self, *args, **kwargs):
237
-
super().__init__(*args, **kwargs)
238
-
230
+
defsetUp(self):
239
231
self.docker=DockerManager(COMPOSE_FILE)
240
232
self.root_token=self.docker.generate_root_token()
241
233
242
234
self.cluster=Cluster(self.docker, self)
243
235
236
+
deftearDown(self):
237
+
# Ensure containers that were brought down during a test are back up.
0 commit comments