quantranhong1999 commented on code in PR #3037:
URL: https://github.com/apache/james-project/pull/3037#discussion_r3207607655


##########
server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/src/test/java/org/apache/james/jmap/rfc8621/memory/MemoryEmailSetMethodTest.java:
##########
@@ -35,4 +37,11 @@ public MessageId randomMessageId() {
     public String invalidMessageIdMessage(String invalid) {
         return String.format("For input string: \\\"%s\\\"", invalid);
     }
+
+    @Override
+    @Disabled("This test hangs when running the whole memory test suite with 
PER_CLASS lifecycle. Happens only with memory test set up, while Postgres and 
Distributed pass; " +
+        "If run this memory test alone, it passed though." +
+        "Keep disabled until the memory-specific state pollution is fixed...")
+    public void rangeFlagsRemovalShouldUpdateStoredFlags(GuiceJamesServer 
server) {
+    }

Review Comment:
   This took me quite some time, using the memory test:
   - The `MemoryEmailSetMethodTest.rangeFlagsRemovalShouldUpdateStoredFlags` 
test passes alone.
   - The whole `MemoryEmailSetMethodTest` test suite hangs upon the 
`rangeFlagsRemovalShouldUpdateStoredFlags` test (after around 100 tests)
   - The whole `MemoryEmailSetMethodTest` test suite passes when the 
`rangeFlagsRemovalShouldUpdateStoredFlags` test is disabled.
   
   This is not an issue with Postgres/Distributed tests.
   
   Therefore, I propose to just disable this test for memory. I could not find 
the issue so far. At least we still have Postgres/Distributed test, which is 
more production code that covers this.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to