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

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit db2dc80f3bd5f30be9ed62e1b67d5ac138e0e071
Author: Benoit Tellier <[email protected]>
AuthorDate: Thu Oct 15 08:46:09 2020 +0700

    JAMES-3407 Switch checks as overwise possible on the first check can make 
the second one fail
---
 .../james/mailbox/cassandra/mail/CassandraMailboxMapperTest.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapperTest.java
 
b/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapperTest.java
index 2b9d1d7..a2a8f30 100644
--- 
a/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapperTest.java
+++ 
b/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapperTest.java
@@ -291,11 +291,11 @@ class CassandraMailboxMapperTest {
                         .block());
 
                 SoftAssertions.assertSoftly(Throwing.consumer(softly -> {
+                    
softly.assertThat(MailboxReactorUtils.blockOptional(testee.findMailboxByPath(MAILBOX_PATH)))
+                        .isEmpty();
                     softly(softly)
                         .assertThat(testee.findMailboxById(MAILBOX_ID).block())
                         .isEqualTo(MAILBOX);
-                    
softly.assertThat(MailboxReactorUtils.blockOptional(testee.findMailboxByPath(MAILBOX_PATH)))
-                        .isEmpty();
                 }));
             }
 


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

Reply via email to