Disable ZeroMQ PUB/SUB tests

This commit is contained in:
Artem Bilan
2021-06-21 10:48:37 -04:00
parent 45d526fbd2
commit 8be9303973
2 changed files with 4 additions and 0 deletions

View File

@@ -17,6 +17,7 @@
package org.springframework.cloud.stream.app.sink.zeromq;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.zeromq.SocketType;
import org.zeromq.ZContext;
@@ -44,6 +45,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @since 3.1.0
*/
@Disabled("PUB/SUB is async and we can't guess when subscriber is ready before sending a message")
public class ZeroMqSinkTests {
private static final ZContext CONTEXT = new ZContext();

View File

@@ -20,6 +20,7 @@ import java.util.function.Function;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.zeromq.SocketType;
import org.zeromq.ZContext;
@@ -44,6 +45,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
@SpringBootTest(properties = "zeromq.consumer.topic='test-topic'")
@DirtiesContext
@Disabled("PUB/SUB is async and we can't guess when subscriber is ready before sending a message")
public class ZeroMqConsumerConfigurationTests {
private static final ZContext CONTEXT = new ZContext();