[SB3 Update] Disable mail-supplier tests

This commit is contained in:
Chris Bono
2022-10-16 23:18:22 -05:00
parent d002bbf7c4
commit 2154a8d970
7 changed files with 14 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ import java.util.function.Supplier;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import reactor.core.publisher.Flux;
import org.springframework.beans.factory.annotation.Autowired;
@@ -33,6 +34,7 @@ import org.springframework.test.annotation.DirtiesContext;
import static org.assertj.core.api.Assertions.assertThat;
@Disabled
@SpringIntegrationTest(noAutoStartup = "*")
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE, properties = {
"mail.supplier.mark-as-read=true",

View File

@@ -17,6 +17,7 @@
package org.springframework.cloud.fn.supplier.mail;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import reactor.core.publisher.Flux;
import reactor.test.StepVerifier;
@@ -29,6 +30,7 @@ import org.springframework.test.context.TestPropertySource;
import static org.assertj.core.api.Assertions.assertThat;
@Disabled
@TestPropertySource(properties = {
"mail.supplier.url=imap://user:pw@localhost:${test.mail.server.port}/INBOX",
"mail.supplier.charset=cp1251"})

View File

@@ -17,6 +17,7 @@
package org.springframework.cloud.fn.supplier.mail;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import reactor.core.publisher.Flux;
import reactor.test.StepVerifier;
@@ -26,6 +27,7 @@ import org.springframework.test.context.TestPropertySource;
import static org.assertj.core.api.Assertions.assertThat;
@Disabled
@TestPropertySource(properties = {
"mail.supplier.idle-imap=true",
"mail.supplier.url=imap://user:pw@localhost:${test.mail.server.port}/INBOX"})

View File

@@ -17,6 +17,7 @@
package org.springframework.cloud.fn.supplier.mail;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import reactor.core.publisher.Flux;
import reactor.test.StepVerifier;
@@ -26,6 +27,7 @@ import org.springframework.test.context.TestPropertySource;
import static org.assertj.core.api.Assertions.assertThat;
@Disabled
@TestPropertySource(properties = {
"mail.supplier.idle-imap=true",
"mail.supplier.url=imap://user:pw@localhost:${test.mail.server.port}/INBOX"})

View File

@@ -19,6 +19,7 @@ package org.springframework.cloud.fn.supplier.mail;
import java.util.List;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import reactor.core.publisher.Flux;
import reactor.test.StepVerifier;
@@ -30,6 +31,7 @@ import org.springframework.test.context.TestPropertySource;
import static org.assertj.core.api.Assertions.assertThat;
@Disabled
@TestPropertySource(properties = "mail.supplier.url=imap://user:pw@localhost:${test.mail.server.port}/INBOX")
public class ImapPassTests extends AbstractMailSupplierTests {

View File

@@ -17,6 +17,7 @@
package org.springframework.cloud.fn.supplier.mail;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import reactor.core.publisher.Flux;
import reactor.test.StepVerifier;
@@ -26,6 +27,7 @@ import org.springframework.test.context.TestPropertySource;
import static org.assertj.core.api.Assertions.assertThat;
@Disabled
@TestPropertySource(properties = "mail.supplier.url=pop3://user:pw@localhost:${test.mail.server.port}/INBOX")
public class Pop3FailTests extends AbstractMailSupplierTests {

View File

@@ -17,6 +17,7 @@
package org.springframework.cloud.fn.supplier.mail;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import reactor.core.publisher.Flux;
import reactor.test.StepVerifier;
@@ -26,6 +27,7 @@ import org.springframework.test.context.TestPropertySource;
import static org.assertj.core.api.Assertions.assertThat;
@Disabled
@TestPropertySource(properties = "mail.supplier.url=pop3://user:pw@localhost:${test.mail.server.port}/INBOX")
public class Pop3PassTests extends AbstractMailSupplierTests {