Skip to content

Commit db101d0

Browse files
Fixed long running integration test
1 parent 9539c6e commit db101d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pubsubplus-connector-spark_3.x/src/test/java/com/solacecoe/connectors/spark/SolaceSparkStreamingIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ public void Should_Fail_If_CorrelationIdOffsetIsInvalid() {
537537
@Order(9)
538538
public void Should_Fail_If_ApplicationMessageIdOffsetIsInvalid() throws TimeoutException, StreamingQueryException {
539539
Path path = Paths.get("src", "test", "resources", "spark-checkpoint-1");
540-
// assertThrows(StreamingQueryException.class, () -> {
540+
assertThrows(StreamingQueryException.class, () -> {
541541
DataStreamReader reader = sparkSession.readStream()
542542
.option(SolaceSparkStreamingProperties.HOST, solaceContainer.getOrigin(Service.SMF))
543543
.option(SolaceSparkStreamingProperties.VPN, solaceContainer.getVpn())
@@ -557,7 +557,7 @@ public void Should_Fail_If_ApplicationMessageIdOffsetIsInvalid() throws TimeoutE
557557
StreamingQuery streamingQuery = dataset.writeStream().foreachBatch((VoidFunction2<Dataset<Row>, Long>) (dataset1, batchId) -> {
558558
}).start();
559559
streamingQuery.awaitTermination();
560-
// });
560+
});
561561
}
562562

563563
@Test

0 commit comments

Comments
 (0)