JAMES-1862 Upgrade testcontainers
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/cc01139f Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/cc01139f Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/cc01139f Branch: refs/heads/master Commit: cc01139ff9b74f83c5cd331339adf2cd9e96f183 Parents: b4f1ed6 Author: Antoine Duprat <adup...@apache.org> Authored: Thu Dec 1 12:15:20 2016 +0100 Committer: Antoine Duprat <adup...@linagora.com> Committed: Tue Dec 6 11:31:26 2016 +0100 ---------------------------------------------------------------------- .../src/main/java/org/apache/james/mpt/smtp/ForwardSmtpTest.java | 3 ++- mpt/pom.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/cc01139f/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/ForwardSmtpTest.java ---------------------------------------------------------------------- diff --git a/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/ForwardSmtpTest.java b/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/ForwardSmtpTest.java index 46214b2..e27c9e0 100644 --- a/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/ForwardSmtpTest.java +++ b/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/ForwardSmtpTest.java @@ -52,7 +52,7 @@ public class ForwardSmtpTest extends AbstractSimpleScriptedTestProtocol { public static final String PASSWORD = "secret"; private final TemporaryFolder folder = new TemporaryFolder(); - private final GenericContainer fakeSmtp = new SwarmGenericContainer("weave/rest-smtp-sink:latest") + private final GenericContainer<?> fakeSmtp = new SwarmGenericContainer("weave/rest-smtp-sink:latest") .withAffinityToContainer(); @Rule @@ -66,6 +66,7 @@ public class ForwardSmtpTest extends AbstractSimpleScriptedTestProtocol { } @Before + @SuppressWarnings("deprecation") public void setUp() throws Exception { super.setUp(); InetAddress containerIp = InetAddresses.forString(fakeSmtp.getContainerInfo().getNetworkSettings().getIpAddress()); http://git-wip-us.apache.org/repos/asf/james-project/blob/cc01139f/mpt/pom.xml ---------------------------------------------------------------------- diff --git a/mpt/pom.xml b/mpt/pom.xml index 99375bb..a8feadb 100644 --- a/mpt/pom.xml +++ b/mpt/pom.xml @@ -472,7 +472,7 @@ <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> - <version>1.0.2</version> + <version>1.1.7</version> </dependency> </dependencies> </dependencyManagement> --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org