You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2021/01/14 03:26:10 UTC
[james-project] 05/11: JAMES-3474 Disable asynchronous state tests
for distributed environment
This is an automated email from the ASF dual-hosted git repository.
rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit c4d993331ee071b25584cbe12940ba2ee5728a7a
Author: LanKhuat <dl...@linagora.com>
AuthorDate: Tue Jan 12 11:02:46 2021 +0700
JAMES-3474 Disable asynchronous state tests for distributed environment
---
.../rfc8621/distributed/DistributedEmailSetMethodTest.java | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/server/protocols/jmap-rfc-8621-integration-tests/distributed-jmap-rfc-8621-integration-tests/src/test/java/org/apache/james/jmap/rfc8621/distributed/DistributedEmailSetMethodTest.java b/server/protocols/jmap-rfc-8621-integration-tests/distributed-jmap-rfc-8621-integration-tests/src/test/java/org/apache/james/jmap/rfc8621/distributed/DistributedEmailSetMethodTest.java
index ec07ea6..b103eac 100644
--- a/server/protocols/jmap-rfc-8621-integration-tests/distributed-jmap-rfc-8621-integration-tests/src/test/java/org/apache/james/jmap/rfc8621/distributed/DistributedEmailSetMethodTest.java
+++ b/server/protocols/jmap-rfc-8621-integration-tests/distributed-jmap-rfc-8621-integration-tests/src/test/java/org/apache/james/jmap/rfc8621/distributed/DistributedEmailSetMethodTest.java
@@ -23,6 +23,7 @@ import org.apache.james.CassandraExtension;
import org.apache.james.CassandraRabbitMQJamesConfiguration;
import org.apache.james.CassandraRabbitMQJamesServerMain;
import org.apache.james.DockerElasticSearchExtension;
+import org.apache.james.GuiceJamesServer;
import org.apache.james.JamesServerBuilder;
import org.apache.james.JamesServerExtension;
import org.apache.james.jmap.rfc8621.contract.EmailSetMethodContract;
@@ -32,6 +33,8 @@ import org.apache.james.modules.AwsS3BlobStoreExtension;
import org.apache.james.modules.RabbitMQExtension;
import org.apache.james.modules.TestJMAPServerModule;
import org.apache.james.modules.blobstore.BlobStoreConfiguration;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
import com.datastax.driver.core.utils.UUIDs;
@@ -67,4 +70,14 @@ public class DistributedEmailSetMethodTest implements EmailSetMethodContract {
public String invalidMessageIdMessage(String invalid) {
return String.format("Invalid UUID string: %s", invalid);
}
+
+ @Override
+ @Test
+ @Disabled("Distributed event bus is asynchronous, we cannot expect the newState to be returned immediately after Email/set call")
+ public void newStateShouldBeUpToDate(GuiceJamesServer server) {}
+
+ @Override
+ @Test
+ @Disabled("Distributed event bus is asynchronous, we cannot expect the newState to be returned immediately after Email/set call")
+ public void oldStateShouldIncludeSetChanges(GuiceJamesServer server) {}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org