Skip to content

Commit ce1c7b9

Browse files
CouchbaseContainer reuse, removed unecessary log
1 parent 63dea7a commit ce1c7b9

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

modules/couchbase/AUTHORS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
Tayeb Chlyah <[email protected]>
22
Tobias Happ <[email protected]>
3-
Fredrik Albihn <[email protected]>

modules/couchbase/src/main/java/org/testcontainers/couchbase/CouchbaseContainer.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,7 @@ private void exposePorts() {
343343

344344
@Override
345345
protected void containerIsStarting(InspectContainerResponse containerInfo, boolean reused) {
346-
if (reused) {
347-
this.logger().debug("Couchbase container is being reused, assuming correct configuration.");
348-
} else {
346+
if (!reused) {
349347
containerIsStarting(containerInfo);
350348
}
351349
}
@@ -370,10 +368,7 @@ protected void containerIsStarting(final InspectContainerResponse containerInfo)
370368

371369
@Override
372370
protected void containerIsStarted(InspectContainerResponse containerInfo, boolean reused) {
373-
if (reused) {
374-
logger()
375-
.info("Couchbase container reused and ready! UI available at http://{}:{}", getHost(), getMappedPort(MGMT_PORT));
376-
} else {
371+
if (!reused) {
377372
this.containerIsStarted(containerInfo);
378373
}
379374
}

0 commit comments

Comments
 (0)