mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
fix(test): remove RDS snapshot fixture volumes (#6393)
Remove anonymous PostgreSQL data volumes when cleaning up snapshot round-trip test containers. Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
This commit is contained in:
1 parent
f10d98a9f1
commit
b9c67b75f7
1 file changed
+1
-1
+1
-1
@@ -214,7 +214,7 @@ class RdsContainerManagerPostgresTest {
|
||||
// already stopped or gone
|
||||
}
|
||||
try {
|
||||
dockerClient.removeContainerCmd(containerId).withForce(true).exec();
|
||||
dockerClient.removeContainerCmd(containerId).withForce(true).withRemoveVolumes(true).exec();
|
||||
} catch (DockerException ignored) {
|
||||
// already removed
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user