chibenwa commented on code in PR #1637:
URL: https://github.com/apache/james-project/pull/1637#discussion_r1255176382
##########
server/blob/blob-s3/src/test/java/org/apache/james/blob/objectstorage/aws/DockerAwsS3Container.java:
##########
@@ -61,6 +61,21 @@ public void stop() {
awsS3Container.stop();
}
+ public void pause() {
+
awsS3Container.getDockerClient().pauseContainerCmd(awsS3Container.getContainerId()).exec();
+ }
+
+ public void unpause() {
+
awsS3Container.getDockerClient().unpauseContainerCmd(awsS3Container.getContainerId()).exec();
+ }
+
+ public boolean isPaused() {
+ return
awsS3Container.getDockerClient().inspectContainerCmd(awsS3Container.getContainerId())
+ .exec()
+ .getState()
+ .getPaused();
Review Comment:
TAB idents should be 4 spaces not 8.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]