Skip to content

Commit 492d158

Browse files
Update SolaceSparkStreamingSinkIT.java
1 parent 85d1b03 commit 492d158

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/test/java/com/solacecoe/connectors/spark/SolaceSparkStreamingSinkIT.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void beforeAll() throws ApiException {
6363
SempV2Api sempV2Api = new SempV2Api(String.format("http://%s:%d", solaceContainer.getHost(), solaceContainer.getMappedPort(8080)), "admin", "admin");
6464
MsgVpnQueue queue = new MsgVpnQueue();
6565
queue.queueName("Solace/Queue/0");
66-
queue.accessType(MsgVpnQueue.AccessTypeEnum.EXCLUSIVE);
66+
queue.accessType(MsgVpnQueue.AccessTypeEnum.NON_EXCLUSIVE);
6767
queue.permission(MsgVpnQueue.PermissionEnum.DELETE);
6868
queue.ingressEnabled(true);
6969
queue.egressEnabled(true);
@@ -741,7 +741,7 @@ public void onException(JCSMPException e) {
741741
}
742742

743743
@Test
744-
@Order(11)
744+
@Order(12)
745745
void Should_ProcessData_WithMultipleConsumer_And_Publish_To_Solace_With_MultipleOperations_On_Dataframe() throws TimeoutException, InterruptedException {
746746
Path path = Paths.get("src", "test", "resources", "spark-checkpoint-1");
747747
final long[] dataFrameCount = {0};
@@ -805,7 +805,7 @@ public void onException(JCSMPException e) {
805805
}
806806

807807
@Test
808-
@Order(12)
808+
@Order(13)
809809
void Should_Not_ProcessData_When_QueueIsEmpty() throws TimeoutException, InterruptedException {
810810
Path path = Paths.get("src", "test", "resources", "spark-checkpoint-1");
811811
final long[] batchTriggerCount = {0};
@@ -960,6 +960,7 @@ void Should_Fail_Publish_IfMessageTopicIsMissing() {
960960
}
961961

962962
@Test
963+
@Order(11)
963964
void Should_Fail_Publish_IfMessagePayloadIsMissing() {
964965
Path path = Paths.get("src", "test", "resources", "spark-checkpoint-1");
965966
try {

0 commit comments

Comments
 (0)