mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-21 21:25:38 +00:00
fix test failures due to previous refactoring of abstract replication test classes
This commit is contained in:
+1
-4
@@ -6,18 +6,15 @@ import static org.hamcrest.Matchers.equalTo;
|
||||
import org.junit.Test;
|
||||
|
||||
import com.sap.sse.common.mail.MailException;
|
||||
import com.sap.sse.mail.MailService;
|
||||
import com.sap.sse.mail.replication.testsupport.AbstractMailServiceReplicationTest;
|
||||
|
||||
public class SimpleMailServiceReplicationTest extends AbstractMailServiceReplicationTest {
|
||||
@Test
|
||||
public void testReplicationOfSendMail() throws InterruptedException,
|
||||
IllegalAccessException, MailException {
|
||||
MailService master = testSetUp.getMaster();
|
||||
MailService replica = testSetUp.getReplica();
|
||||
master.sendMail("test@ing.me", "oh what a beatiful mail", "to be sent on this day");
|
||||
|
||||
testSetUp.getReplicaReplicator().waitUntilQueueIsEmpty();
|
||||
replicaReplicator.waitUntilQueueIsEmpty();
|
||||
Thread.sleep(3000);
|
||||
|
||||
assertThat("mail was not sent on replica",
|
||||
|
||||
Reference in New Issue
Block a user