james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rouaz...@apache.org
Subject [02/11] james-project git commit: JAMES-1862 Upgrade testcontainers
Date Tue, 06 Dec 2016 09:02:47 GMT
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/c704a924
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/c704a924
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/c704a924

Branch: refs/heads/master
Commit: c704a92479af450114b69f28ea9abbc5387a6c86
Parents: ffc98b7
Author: Antoine Duprat <aduprat@apache.org>
Authored: Thu Dec 1 12:15:20 2016 +0100
Committer: Antoine Duprat <aduprat@apache.org>
Committed: Tue Dec 6 09:56:34 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/c704a924/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/c704a924/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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message