Skip to content

Commit

Permalink
Add more clear warning message instructing users how to enable reusab…
Browse files Browse the repository at this point in the history
…le containers
  • Loading branch information
aguibert committed Mar 10, 2020
1 parent 16fda42 commit 1ce66d7
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -379,7 +379,8 @@ private void tryStart(Instant startedAt) {
}
reusable = true;
} else {
logger().info("Reuse was requested but the environment does not support the reuse of containers");
logger().warn("Reuse was requested but the environment does not support the reuse of containers");
logger().warn("To enable reuse of containers, you must set 'testcontainers.reuse.enable=true' in a file located at ~/.testcontainers.properties");
reusable = false;
}
} else {
Expand Down

0 comments on commit 1ce66d7

Please sign in to comment.