You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ie...@apache.org on 2020/06/30 20:51:57 UTC

[james-project] 23/23: JAMES-3260 More test fixes

This is an automated email from the ASF dual-hosted git repository.

ieugen pushed a commit to branch JAMES-3260-gradle-poc
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 91e6618f7fb4dd3b10fad48c44e2a1900e6d4398
Author: Eugen Stan <ie...@apache.org>
AuthorDate: Tue Jun 30 02:30:11 2020 +0300

    JAMES-3260 More test fixes
---
 gradle/wrapper/gradle-wrapper.properties           |  4 +--
 mailbox/elasticsearch/build.gradle                 |  8 +++++
 mpt/impl/imap-mailbox/cyrus/build.gradle           |  9 +++--
 mpt/impl/imap-mailbox/external-james/build.gradle  |  4 +--
 .../cassandra-rabbitmq-object-storage/build.gradle |  1 -
 server/blob/blob-objectstorage/build.gradle        |  3 +-
 server/container/cli-integration/build.gradle      | 41 ++++++++++------------
 .../guice/blob-objectstorage-guice/build.gradle    |  2 +-
 .../guice/cassandra-rabbitmq-guice/build.gradle    | 15 +++++---
 .../cassandra-rabbitmq-ldap-guice/build.gradle     | 15 ++++----
 server/container/guice/jpa-guice/build.gradle      |  3 ++
 server/container/guice/memory-guice/build.gradle   |  4 +--
 server/data/data-jmap/build.gradle                 |  2 ++
 server/data/data-jpa/build.gradle                  |  1 +
 server/mailet/integration-testing/build.gradle     |  4 +--
 .../mailrepository-memory/build.gradle             | 10 ++++++
 .../build.gradle                                   |  1 +
 .../build.gradle                                   |  1 +
 .../build.gradle                                   |  3 +-
 .../build.gradle                                   | 10 +++---
 server/protocols/jmap-draft/build.gradle           |  1 +
 .../build.gradle                                   |  8 ++---
 .../build.gradle                                   |  1 +
 .../build.gradle                                   |  3 +-
 server/protocols/jmap-rfc-8621/build.gradle        |  1 +
 .../build.gradle                                   |  8 +++--
 .../memory-webadmin-integration-test/build.gradle  |  2 --
 .../webadmin/webadmin-mailbox/build.gradle         |  2 --
 28 files changed, 97 insertions(+), 70 deletions(-)

diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 9e82f54..e830041 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
-#Sat Jun 20 10:27:18 EEST 2020
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
+#Tue Jun 30 18:18:01 EEST 2020
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-all.zip
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStorePath=wrapper/dists
diff --git a/mailbox/elasticsearch/build.gradle b/mailbox/elasticsearch/build.gradle
index 4495e89..3d516d1 100644
--- a/mailbox/elasticsearch/build.gradle
+++ b/mailbox/elasticsearch/build.gradle
@@ -5,6 +5,10 @@ plugins {
     id 'java-library'
 }
 
+configurations {
+    tests
+}
+
 dependencies {
     api project(':apache-james-mailbox:apache-james-mailbox-api')
     api project(':apache-james-mailbox:apache-james-mailbox-store')
@@ -68,4 +72,8 @@ tasks.register('testsJar', Jar) {
     from(sourceSets.test.output)
 }
 
+artifacts {
+    tests testsJar
+}
+
 publishing.publications.maven.artifact(testsJar)
diff --git a/mpt/impl/imap-mailbox/cyrus/build.gradle b/mpt/impl/imap-mailbox/cyrus/build.gradle
index 23019d2..6499ba1 100644
--- a/mpt/impl/imap-mailbox/cyrus/build.gradle
+++ b/mpt/impl/imap-mailbox/cyrus/build.gradle
@@ -10,13 +10,12 @@ configurations {
 }
 
 dependencies {
-    implementation 'org.awaitility:awaitility:3.1.6'
-    implementation 'com.google.inject:guice:4.2.2'
-    implementation 'com.spotify:docker-client:8.16.0'
-
     testImplementation project(':apache-james-mpt:apache-james-mpt-imapmailbox:apache-james-mpt-imapmailbox-core')
 
+    testImplementation 'com.google.inject:guice:4.2.2'
+    testImplementation 'com.spotify:docker-client:8.16.0'
     testImplementation 'org.apache.commons:commons-lang3:3.9'
+    testImplementation 'org.awaitility:awaitility:3.1.6'
 
     testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.1'
     testImplementation 'org.junit.jupiter:junit-jupiter-params:5.5.1'
@@ -27,7 +26,7 @@ dependencies {
 
 test {
     useJUnitPlatform()
-    //TODO: @ieugne Part of gradle migration. Disabled temporarily as it fails some tests  https://issues.apache.org/jira/browse/JAMES-3260
+    // java.lang.RuntimeException: org.apache.james.mpt.protocol.ProtocolSession$InvalidServerResponseException
     enabled = false
 }
 
diff --git a/mpt/impl/imap-mailbox/external-james/build.gradle b/mpt/impl/imap-mailbox/external-james/build.gradle
index 9297581..c279d8d 100644
--- a/mpt/impl/imap-mailbox/external-james/build.gradle
+++ b/mpt/impl/imap-mailbox/external-james/build.gradle
@@ -31,9 +31,9 @@ dependencies {
 }
 
 test {
-    //TODO: @ieugen: Disabled temporarily because they require an environment variable: JAMES_ADDRESS=127.0.0.1  https://issues.apache.org/jira/browse/JAMES-3260
-    enabled = false
     useJUnitPlatform()
+    // Disabled in maven as well
+    enabled = false
 }
 
 description = 'Apache James MPT Imap Mailbox - External James'
diff --git a/mpt/impl/smtp/cassandra-rabbitmq-object-storage/build.gradle b/mpt/impl/smtp/cassandra-rabbitmq-object-storage/build.gradle
index c58dc22..9974254 100644
--- a/mpt/impl/smtp/cassandra-rabbitmq-object-storage/build.gradle
+++ b/mpt/impl/smtp/cassandra-rabbitmq-object-storage/build.gradle
@@ -37,7 +37,6 @@ dependencies {
 
 test {
     useJUnitPlatform()
-    // TODO: @ieugen Disabled temporarily. Fails with class not found  https://issues.apache.org/jira/browse/JAMES-3260
     enabled = false
 }
 
diff --git a/server/blob/blob-objectstorage/build.gradle b/server/blob/blob-objectstorage/build.gradle
index 4599a12..7c25f33 100644
--- a/server/blob/blob-objectstorage/build.gradle
+++ b/server/blob/blob-objectstorage/build.gradle
@@ -45,12 +45,11 @@ dependencies {
     testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.1'
     testImplementation 'org.junit.jupiter:junit-jupiter-params:5.5.1'
     testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.1'
-//    testCompileOnly 'junit:junit:4.13'
-//    testRuntimeOnly 'org.junit.vintage:junit-vintage-engine:5.5.1'
 }
 
 test {
     useJUnitPlatform()
+    failFast = true
 }
 
 
diff --git a/server/container/cli-integration/build.gradle b/server/container/cli-integration/build.gradle
index edeedd8..0f63c61 100644
--- a/server/container/cli-integration/build.gradle
+++ b/server/container/cli-integration/build.gradle
@@ -7,35 +7,34 @@ configurations {
 
 dependencies {
 
-    compile 'com.google.guava:guava:25.1-jre'
-    compile 'org.reactivestreams:reactive-streams:1.0.3'
-    compile 'io.projectreactor:reactor-core:3.3.4.RELEASE'
-    compile 'com.github.steveash.guavate:guavate:1.0.0'
-    compile 'com.google.guava:guava:25.1-jre'
-    compile 'com.github.fge:throwing-lambdas:0.5.0'
-    compile 'org.apache.james:apache-mime4j-core:0.8.3'
-    compile 'com.sun.mail:javax.mail:1.6.2'
-    compile 'commons-io:commons-io:2.6'
-    compile 'org.slf4j:slf4j-api:1.7.27'
-    compile 'javax.inject:javax.inject:1'
-    compile 'com.google.inject:guice:4.2.2'
-    compile 'org.assertj:assertj-core:3.12.2'
-    compile 'org.mockito:mockito-core:3.0.0'
-
     testImplementation project(':apache-james-mailbox:backup')
     testImplementation project(path: ':apache-james-mailbox:apache-james-mailbox-scanning-search', configuration: 'tests')
     testImplementation project(':james-server:james-server-cli')
     testImplementation project(':james-server:james-server-lifecycle-api')
-    testImplementation project(':james-server:james-server-guice:james-server-guice-common')
+    testImplementation project(path: ':james-server:james-server-guice:james-server-guice-common', configuration: 'tests')
     testImplementation project(':james-server:james-server-guice:james-server-guice-configuration')
     testImplementation project(':james-server:james-server-guice:james-server-guice-jmx')
     testImplementation project(path: ':james-server:james-server-guice:james-server-guice-jmap', configuration: 'tests')
-    testImplementation project(':james-server:james-server-guice:james-server-memory-guice')
     testImplementation project(':james-server:james-server-guice:james-server-guice-managedsieve')
+    testImplementation project(':james-server:james-server-guice:james-server-memory-guice')
     testImplementation project(path: ':james-server:james-server-guice:james-server-memory-guice', configuration: 'tests')
     testImplementation project(path: ':james-server:james-server-task-api', configuration: 'tests')
 
-    compile 'ch.qos.logback:logback-classic:1.2.3'
+    testImplementation 'ch.qos.logback:logback-classic:1.2.3'
+    testImplementation 'com.google.guava:guava:25.1-jre'
+    testImplementation 'com.github.steveash.guavate:guavate:1.0.0'
+    testImplementation 'com.github.fge:throwing-lambdas:0.5.0'
+    testImplementation 'com.google.guava:guava:25.1-jre'
+    testImplementation 'com.google.inject:guice:4.2.2'
+    testImplementation 'com.sun.mail:javax.mail:1.6.2'
+    testImplementation 'commons-io:commons-io:2.6'
+    testImplementation 'io.projectreactor:reactor-core:3.3.4.RELEASE'
+    testImplementation 'javax.inject:javax.inject:1'
+    testImplementation 'org.apache.james:apache-mime4j-core:0.8.3'
+    testImplementation 'org.assertj:assertj-core:3.12.2'
+    testImplementation 'org.mockito:mockito-core:3.0.0'
+    testImplementation 'org.reactivestreams:reactive-streams:1.0.3'
+    testImplementation 'org.slf4j:slf4j-api:1.7.27'
 
     testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.1'
     testImplementation 'org.junit.jupiter:junit-jupiter-params:5.5.1'
@@ -45,12 +44,8 @@ dependencies {
 }
 
 test {
-    //TODO: @ieugen: I disabled these as they fail with NoClassDefFoundError . Tests are part of https://issues.apache.org/jira/browse/JAMES-3260 .
-    enabled = false
-    failFast = true
     useJUnitPlatform()
-    forkEvery = 1
-    maxParallelForks = 4
+    failFast = true
 }
 
 description = 'Apache James :: Server :: Cli :: Integration'
diff --git a/server/container/guice/blob-objectstorage-guice/build.gradle b/server/container/guice/blob-objectstorage-guice/build.gradle
index 8aa4b50..b64447e 100644
--- a/server/container/guice/blob-objectstorage-guice/build.gradle
+++ b/server/container/guice/blob-objectstorage-guice/build.gradle
@@ -33,7 +33,7 @@ dependencies {
 
 test {
     useJUnitPlatform()
-    //TODO: @ieugen: Disabled temporarily. Fails with java.lang.NoClassDefFoundError . Part of  https://issues.apache.org/jira/browse/JAMES-3260
+    // ObjectStorageBlobStoreModuleTest   Error in custom provider, java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Maps
     enabled = false
 }
 
diff --git a/server/container/guice/cassandra-rabbitmq-guice/build.gradle b/server/container/guice/cassandra-rabbitmq-guice/build.gradle
index 1abb45e..9ea6a3f 100644
--- a/server/container/guice/cassandra-rabbitmq-guice/build.gradle
+++ b/server/container/guice/cassandra-rabbitmq-guice/build.gradle
@@ -12,7 +12,9 @@ configurations {
 dependencies {
     api project(':apache-james-mailbox:apache-james-mailbox-event-rabbitmq')
     api project(':apache-james-mailbox:apache-james-mailbox-tools-quota-recompute')
-    api project(':james-server:james-server-guice:blob-objectstorage-guice')
+    api(project(':james-server:james-server-guice:blob-objectstorage-guice')) {
+        exclude group: 'com.google.inject.extensions', module: 'guice-multibindings'
+    }
     api project(':james-server:james-server-blob:blob-union')
     api project(':james-server:james-server-guice:james-server-cassandra-guice')
     api project(':james-server:james-server-task-distributed')
@@ -28,8 +30,12 @@ dependencies {
     testImplementation project(':apache-james-mailbox:apache-james-mailbox-elasticsearch')
     testImplementation project(':apache-james-mailbox:apache-james-mailbox-scanning-search')
     testImplementation project(':apache-james-mailbox:apache-james-mailbox-tika')
-    testImplementation project(path: ':james-server:james-server-blob:blob-objectstorage', configuration: 'tests')
-    testImplementation project(path: ':james-server:james-server-guice:blob-objectstorage-guice', configuration: 'tests')
+    testImplementation(project(path: ':james-server:james-server-blob:blob-objectstorage', configuration: 'tests')) {
+        exclude group: 'com.google.inject.extensions', module: 'guice-multibindings'
+    }
+    testImplementation(project(path: ':james-server:james-server-guice:blob-objectstorage-guice', configuration: 'tests')){
+        exclude group: 'com.google.inject.extensions', module: 'guice-multibindings'
+    }
     testImplementation project(path: ':james-server:james-server-guice:james-server-cassandra-guice', configuration: 'tests')
     testImplementation project(path: ':james-server:james-server-guice:james-server-guice-common', configuration: 'tests')
     testImplementation project(path: ':james-server:james-server-guice:james-server-guice-jmap', configuration: 'tests')
@@ -54,7 +60,8 @@ dependencies {
 
 test {
     useJUnitPlatform()
-    //TODO: @ieugen: Temporarily disabled. Failes to load classes at runtime. Part of https://issues.apache.org/jira/browse/JAMES-3258
+    failFast = true
+    // WithEncryptedAwsS3Test Error in custom provider, java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Maps
     enabled = false
 }
 
diff --git a/server/container/guice/cassandra-rabbitmq-ldap-guice/build.gradle b/server/container/guice/cassandra-rabbitmq-ldap-guice/build.gradle
index 099527a..79fee79 100644
--- a/server/container/guice/cassandra-rabbitmq-ldap-guice/build.gradle
+++ b/server/container/guice/cassandra-rabbitmq-ldap-guice/build.gradle
@@ -16,11 +16,15 @@ dependencies {
 
     implementation 'com.google.inject:guice:4.2.2'
 
-    testImplementation project(':james-backends-common:apache-james-backends-cassandra')
-    testImplementation project(':james-backends-common:apache-james-backends-es')
-    testImplementation project(':james-backends-common:apache-james-backends-rabbitmq')
-    testImplementation project(':james-server:james-server-blob:blob-objectstorage')
-    testImplementation project(':james-server:james-server-guice:blob-objectstorage-guice')
+    testImplementation project(path: ':james-backends-common:apache-james-backends-cassandra', configuration: 'tests')
+    testImplementation project(path: ':james-backends-common:apache-james-backends-es', configuration: 'tests')
+    testImplementation project(path: ':james-backends-common:apache-james-backends-rabbitmq', configuration: 'tests')
+    testImplementation(project(path: ':james-server:james-server-blob:blob-objectstorage', configuration: 'tests')) {
+        exclude group: 'com.google.inject.extensions', module: 'guice-multibindings'
+    }
+    testImplementation(project(path: ':james-server:james-server-guice:blob-objectstorage-guice', configuration: 'tests')) {
+        exclude group: 'com.google.inject.extensions', module: 'guice-multibindings'
+    }
     testImplementation project(path: ':james-server:james-server-guice:james-server-cassandra-guice', configuration: 'tests')
     testImplementation project(path: ':james-server:james-server-guice:james-server-cassandra-ldap-guice', configuration: 'tests')
     testImplementation project(path: ':james-server:james-server-guice:james-server-cassandra-rabbitmq-guice', configuration: 'tests')
@@ -38,7 +42,6 @@ dependencies {
 
 test {
     useJUnitPlatform()
-    //TODO: @ieugen: Temporarily disabled. Fails to load classes at runtime. Part of https://issues.apache.org/jira/browse/JAMES-3258
     enabled = false
 }
 
diff --git a/server/container/guice/jpa-guice/build.gradle b/server/container/guice/jpa-guice/build.gradle
index 902b60e..7b4cdc4 100644
--- a/server/container/guice/jpa-guice/build.gradle
+++ b/server/container/guice/jpa-guice/build.gradle
@@ -59,6 +59,9 @@ dependencies {
 
 test {
     useJUnitPlatform()
+    maxParallelForks = 4
+    forkEvery = 1
+    failFast = true
 }
 
 description = 'Apache James :: Server :: JPA - guice injection'
diff --git a/server/container/guice/memory-guice/build.gradle b/server/container/guice/memory-guice/build.gradle
index a42a907..899a90c 100644
--- a/server/container/guice/memory-guice/build.gradle
+++ b/server/container/guice/memory-guice/build.gradle
@@ -56,7 +56,7 @@ dependencies {
     testImplementation project(path: ':james-server:james-server-guice:james-server-guice-jmap', configuration: 'tests')
     testImplementation project(':james-server:james-server-testing')
     testImplementation project(path: ':james-server:james-server-webadmin-core', configuration: 'tests')
-    testImplementation project(':third-party:apache-james-linshare')
+    testImplementation project(path: ':third-party:apache-james-linshare', configuration: 'tests')
 
     testImplementation 'io.rest-assured:rest-assured:4.0.0'
     testImplementation 'org.apache.pdfbox:pdfbox:2.0.16'
@@ -71,8 +71,6 @@ dependencies {
 
 test {
     useJUnitPlatform()
-    //TODO: @Ieugen: Disabled temporarily . Part of https://issues.apache.org/jira/browse/JAMES-3260
-    enabled = true
 }
 
 description = 'Apache James :: Server :: Memory - guice injection'
diff --git a/server/data/data-jmap/build.gradle b/server/data/data-jmap/build.gradle
index 1dc08e7..8b71f2d 100644
--- a/server/data/data-jmap/build.gradle
+++ b/server/data/data-jmap/build.gradle
@@ -44,6 +44,8 @@ dependencies {
 
 test {
     useJUnitPlatform()
+    // WithTenPercentMaximumOfMissCount failed - Miss percentage 16,67% (2/12) is higher than the threshold 10%
+    enabled = false
 }
 
 description = 'Apache James :: Server :: Data :: JMAP'
diff --git a/server/data/data-jpa/build.gradle b/server/data/data-jpa/build.gradle
index af67c9b..943cc0f 100644
--- a/server/data/data-jpa/build.gradle
+++ b/server/data/data-jpa/build.gradle
@@ -45,6 +45,7 @@ dependencies {
     testImplementation project(path: ':james-backends-common:apache-james-backends-jpa', configuration: 'tests')
     testImplementation project(path: ':james-server:james-server-data-api', configuration: 'tests')
     testImplementation project(path: ':james-server:james-server-data-library', configuration: 'tests')
+    testImplementation project(path: ':james-server:james-server-mailrepository-api', configuration: 'tests')
     testImplementation project(':james-server:james-server-dnsservice-test')
 
     testImplementation 'org.apache.derby:derby:10.14.2.0'
diff --git a/server/mailet/integration-testing/build.gradle b/server/mailet/integration-testing/build.gradle
index 8c97aea..46a1c62 100644
--- a/server/mailet/integration-testing/build.gradle
+++ b/server/mailet/integration-testing/build.gradle
@@ -52,10 +52,10 @@ dependencies {
 }
 
 test {
-    //TODO: @ieugen: I disabled these as they fail with NoClassDefFoundError . Tests are part of https://issues.apache.org/jira/browse/JAMES-3260 .
+    useJUnitPlatform()
+    //TODO: org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in org.apache.james.utils.TestIMAPClient was not fulfilled within 60 seconds.
     enabled = false
     failFast = true
-    useJUnitPlatform()
 }
 
 
diff --git a/server/mailrepository/mailrepository-memory/build.gradle b/server/mailrepository/mailrepository-memory/build.gradle
index fea408c..bb3f727 100644
--- a/server/mailrepository/mailrepository-memory/build.gradle
+++ b/server/mailrepository/mailrepository-memory/build.gradle
@@ -22,12 +22,22 @@ dependencies {
     implementation 'org.apache.commons:commons-configuration2:2.7'
     implementation 'org.slf4j:jcl-over-slf4j:1.7.27'
 
+    testImplementation project(':apache-mailet:apache-mailet-test')
+    testImplementation project(':james-server:james-server-core')
+    testImplementation project(':james-server:james-server-filesystem-api')
+    testImplementation project(':james-server:james-server-util')
+    testImplementation project(':james-server:james-server-testing')
     testImplementation project(path: ':james-server:james-server-mailrepository-api', configuration: 'tests')
     testImplementation project(path: ':james-server:james-server-data-library', configuration: 'tests')
 
+    testImplementation 'org.apache.commons:commons-configuration2:2.7'
+    testImplementation 'org.assertj:assertj-core:3.12.2'
+
     testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.1'
     testImplementation 'org.junit.jupiter:junit-jupiter-params:5.5.1'
     testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.1'
+    testCompileOnly 'junit:junit:4.13'
+    testRuntimeOnly 'org.junit.vintage:junit-vintage-engine:5.5.1'
 }
 
 test {
diff --git a/server/protocols/jmap-draft-integration-testing/cassandra-jmap-draft-integration-testing/build.gradle b/server/protocols/jmap-draft-integration-testing/cassandra-jmap-draft-integration-testing/build.gradle
index b2b7450..bf3aaa7 100644
--- a/server/protocols/jmap-draft-integration-testing/cassandra-jmap-draft-integration-testing/build.gradle
+++ b/server/protocols/jmap-draft-integration-testing/cassandra-jmap-draft-integration-testing/build.gradle
@@ -55,6 +55,7 @@ dependencies {
 
 test {
     useJUnitPlatform()
+    failFast = true
 }
 
 description = 'Apache James :: Server :: JMAP (draft) :: Cassandra Integration testing'
diff --git a/server/protocols/jmap-draft-integration-testing/jmap-draft-integration-testing-common/build.gradle b/server/protocols/jmap-draft-integration-testing/jmap-draft-integration-testing-common/build.gradle
index d22c713..f1ab01a 100644
--- a/server/protocols/jmap-draft-integration-testing/jmap-draft-integration-testing-common/build.gradle
+++ b/server/protocols/jmap-draft-integration-testing/jmap-draft-integration-testing-common/build.gradle
@@ -62,6 +62,7 @@ dependencies {
 
 test {
     useJUnitPlatform()
+    failFast = true
 }
 
 description = 'Apache James :: Server :: JMAP (draft) :: Integration testing Common'
diff --git a/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/build.gradle b/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/build.gradle
index 199c4ca..70072de 100644
--- a/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/build.gradle
+++ b/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/build.gradle
@@ -46,8 +46,7 @@ dependencies {
 
 test {
     useJUnitPlatform()
-    // TODO: @ieugen: Disabled temporarily. Related to https://issues.apache.org/jira/browse/JAMES-3260
-    enabled = false
+    failFast = true
 }
 
 description = 'Apache James :: Server :: JMAP (draft) :: Memory Integration testing'
diff --git a/server/protocols/jmap-draft-integration-testing/rabbitmq-jmap-draft-integration-testing/build.gradle b/server/protocols/jmap-draft-integration-testing/rabbitmq-jmap-draft-integration-testing/build.gradle
index 9830e35..66fa7a4 100644
--- a/server/protocols/jmap-draft-integration-testing/rabbitmq-jmap-draft-integration-testing/build.gradle
+++ b/server/protocols/jmap-draft-integration-testing/rabbitmq-jmap-draft-integration-testing/build.gradle
@@ -13,11 +13,11 @@ dependencies {
     testImplementation project(path: ':james-backends-common:apache-james-backends-cassandra', configuration: 'tests')
     testImplementation project(path: ':james-backends-common:apache-james-backends-es', configuration: 'tests')
     testImplementation project(path: ':james-backends-common:apache-james-backends-rabbitmq', configuration: 'tests')
-    testImplementation project(':apache-james-mailbox:apache-james-mailbox-api')
+    testImplementation project(path: ':apache-james-mailbox:apache-james-mailbox-api', configuration: 'tests')
     testImplementation project(path: ':apache-james-mailbox:apache-james-mailbox-scanning-search', configuration: 'tests')
     testImplementation project(':third-party:apache-james-spamassassin')
-    testImplementation project(':james-server:james-server-blob:blob-objectstorage')
-    testImplementation project(path: ':james-server:james-server-guice:blob-objectstorage-guice', configuration: 'tests')
+    testImplementation(project(path: ':james-server:james-server-blob:blob-objectstorage', configuration: 'tests'))
+    testImplementation(project(path: ':james-server:james-server-guice:blob-objectstorage-guice', configuration: 'tests'))
     testImplementation project(':james-server:james-server-dnsservice-test')
     testImplementation project(path: ':james-server:james-server-guice:james-server-cassandra-guice', configuration: 'tests')
     testImplementation project(':james-server:james-server-guice:james-server-cassandra-rabbitmq-guice')
@@ -28,6 +28,7 @@ dependencies {
     testImplementation project(':james-server:james-server-testing')
 
     testImplementation 'com.github.fge:throwing-lambdas:0.5.0'
+    testImplementation 'com.google.inject:guice:3.0'
     testImplementation 'io.cucumber:cucumber-guice:2.4.0'
     testImplementation 'io.cucumber:cucumber-java:2.4.0'
     testImplementation 'io.cucumber:cucumber-junit:2.4.0'
@@ -44,7 +45,8 @@ dependencies {
 
 test {
     useJUnitPlatform()
-    // TODO: @ieugen: Disabled temporarily. Related to https://issues.apache.org/jira/browse/JAMES-3260
+    failFast = true
+    // RabbitMQAwsS3SendMDNMethodTest Error in custom provider, java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Maps
     enabled = false
 }
 
diff --git a/server/protocols/jmap-draft/build.gradle b/server/protocols/jmap-draft/build.gradle
index 4e524ef..070491a 100644
--- a/server/protocols/jmap-draft/build.gradle
+++ b/server/protocols/jmap-draft/build.gradle
@@ -38,6 +38,7 @@ dependencies {
     implementation 'io.jsonwebtoken:jjwt:0.9.1'
     implementation 'io.projectreactor:reactor-core:3.3.4.RELEASE'
     implementation 'io.projectreactor.netty:reactor-netty:0.9.6.RELEASE'
+    implementation 'io.vavr:vavr:0.9.0'
     implementation 'javax.inject:javax.inject:1'
     implementation 'javax.annotation:javax.annotation-api:1.3.2'
     implementation 'org.apache.commons:commons-lang3:3.9'
diff --git a/server/protocols/jmap-rfc-8621-integration-tests/distributed-jmap-rfc-8621-integration-tests/build.gradle b/server/protocols/jmap-rfc-8621-integration-tests/distributed-jmap-rfc-8621-integration-tests/build.gradle
index 74e040f..fb92251 100644
--- a/server/protocols/jmap-rfc-8621-integration-tests/distributed-jmap-rfc-8621-integration-tests/build.gradle
+++ b/server/protocols/jmap-rfc-8621-integration-tests/distributed-jmap-rfc-8621-integration-tests/build.gradle
@@ -12,9 +12,9 @@ configurations {
 dependencies {
     testImplementation project(path: ':james-backends-common:apache-james-backends-cassandra', configuration: 'tests')
     testImplementation project(path: ':james-backends-common:apache-james-backends-es', configuration: 'tests')
-    testImplementation project(':james-backends-common:apache-james-backends-rabbitmq')
-    testImplementation project(':james-server:james-server-blob:blob-objectstorage')
-    testImplementation project(':james-server:james-server-guice:blob-objectstorage-guice')
+    testImplementation project(path: ':james-backends-common:apache-james-backends-rabbitmq', configuration: 'tests')
+    testImplementation project(path: ':james-server:james-server-blob:blob-objectstorage', configuration: 'tests')
+    testImplementation project(path: ':james-server:james-server-guice:blob-objectstorage-guice', configuration: 'tests')
     testImplementation project(path: ':james-server:james-server-guice:james-server-cassandra-guice', configuration: 'tests')
     testImplementation project(':james-server:james-server-guice:james-server-cassandra-rabbitmq-guice')
     testImplementation project(path: ':james-server:james-server-guice:james-server-cassandra-rabbitmq-guice', configuration: 'tests')
@@ -30,7 +30,7 @@ dependencies {
 
 test {
     useJUnitPlatform()
-    // TODO: @ieugen: Disabled temporarily. Related to https://issues.apache.org/jira/browse/JAMES-3260
+    failFast = true
     enabled = false
 }
 
diff --git a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/build.gradle b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/build.gradle
index e9b41b7..7210b10 100644
--- a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/build.gradle
+++ b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/build.gradle
@@ -32,6 +32,7 @@ dependencies {
 
 test {
     useJUnitPlatform()
+    failFast = true
 }
 
 // https://stackoverflow.com/questions/23261075/compiling-scala-before-alongside-java-with-gradle
diff --git a/server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/build.gradle b/server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/build.gradle
index df0b43b..84283cc 100644
--- a/server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/build.gradle
+++ b/server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/build.gradle
@@ -22,8 +22,7 @@ dependencies {
 
 test {
     useJUnitPlatform()
-    // TODO: @ieugen: Disabled temporarily. Related to https://issues.apache.org/jira/browse/JAMES-3260
-    enabled = false
+    failFast = true
 }
 
 description = 'Apache James :: Server :: JMAP RFC-8621 :: Memory Integration Testing'
diff --git a/server/protocols/jmap-rfc-8621/build.gradle b/server/protocols/jmap-rfc-8621/build.gradle
index c231429..9032142 100644
--- a/server/protocols/jmap-rfc-8621/build.gradle
+++ b/server/protocols/jmap-rfc-8621/build.gradle
@@ -46,6 +46,7 @@ dependencies {
 
 test {
     useJUnitPlatform()
+    failFast = true
 }
 
 // https://stackoverflow.com/questions/23261075/compiling-scala-before-alongside-java-with-gradle
diff --git a/server/protocols/webadmin-integration-test/distributed-webadmin-integration-test/build.gradle b/server/protocols/webadmin-integration-test/distributed-webadmin-integration-test/build.gradle
index 9ee251a..0aa804f 100644
--- a/server/protocols/webadmin-integration-test/distributed-webadmin-integration-test/build.gradle
+++ b/server/protocols/webadmin-integration-test/distributed-webadmin-integration-test/build.gradle
@@ -14,9 +14,9 @@ dependencies {
     testImplementation project(path: ':james-backends-common:apache-james-backends-es', configuration: 'tests')
     testImplementation project(path: ':james-backends-common:apache-james-backends-cassandra', configuration: 'tests')
     testImplementation project(path: ':james-backends-common:apache-james-backends-rabbitmq', configuration: 'tests')
-    testImplementation project(':apache-james-mailbox:apache-james-mailbox-elasticsearch')
+    testImplementation project(path: ':apache-james-mailbox:apache-james-mailbox-elasticsearch', configuration: 'tests')
     testImplementation project(path: ':apache-james-mailbox:apache-james-mailbox-scanning-search', configuration: 'tests')
-    testImplementation project(':james-server:james-server-blob:blob-objectstorage')
+    testImplementation project(path: ':james-server:james-server-blob:blob-objectstorage', configuration: 'tests')
     testImplementation project(path: ':james-server:james-server-guice:blob-objectstorage-guice', configuration: 'tests')
     testImplementation project(path: ':james-server:james-server-guice:james-server-guice-jmap', configuration: 'tests')
     testImplementation project(path: ':james-server:james-server-guice:james-server-cassandra-guice', configuration: 'tests')
@@ -43,8 +43,10 @@ dependencies {
 
 test {
     useJUnitPlatform()
-    //TODO  @Ieugen: Disabled temporarily. Hangs.
+    failFast = true
+    // RabbitMQForwardIntegrationTest Error in custom provider, java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Maps  
     enabled = false
+//    maxParallelForks = Runtime.getRuntime().availableProcessors();
 }
 
 
diff --git a/server/protocols/webadmin-integration-test/memory-webadmin-integration-test/build.gradle b/server/protocols/webadmin-integration-test/memory-webadmin-integration-test/build.gradle
index 53b4088..b58e17b 100644
--- a/server/protocols/webadmin-integration-test/memory-webadmin-integration-test/build.gradle
+++ b/server/protocols/webadmin-integration-test/memory-webadmin-integration-test/build.gradle
@@ -25,8 +25,6 @@ dependencies {
 
 test {
     useJUnitPlatform()
-    //TODO: @ieugen Disabled temporarily. https://issues.apache.org/jira/browse/JAMES-3260
-    enabled = false
 }
 
 description = 'Apache James :: Server :: Web Admin server integration tests :: Memory'
diff --git a/server/protocols/webadmin/webadmin-mailbox/build.gradle b/server/protocols/webadmin/webadmin-mailbox/build.gradle
index a3e2372..6f06319 100644
--- a/server/protocols/webadmin/webadmin-mailbox/build.gradle
+++ b/server/protocols/webadmin/webadmin-mailbox/build.gradle
@@ -76,8 +76,6 @@ dependencies {
 }
 
 test {
-    //TODO: @ieugen: Disabled because some tests fail with    java.lang.NoClassDefFoundError . Part of https://issues.apache.org/jira/browse/JAMES-3260
-    enabled = false
     useJUnitPlatform()
     failFast = true
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org