|
23 | 23 | import java.nio.file.Path; |
24 | 24 | import java.nio.file.Paths; |
25 | 25 | import java.sql.Timestamp; |
26 | | -import java.text.Format; |
27 | 26 | import java.text.SimpleDateFormat; |
28 | 27 | import java.util.Date; |
29 | 28 | import java.util.TimeZone; |
|
34 | 33 | @Testcontainers |
35 | 34 | @TestInstance(TestInstance.Lifecycle.PER_CLASS) |
36 | 35 | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) |
37 | | -public class SolaceSparkStreamingMessageReplayIT { |
| 36 | +class SolaceSparkStreamingMessageReplayIT { |
38 | 37 | private SempV2Api sempV2Api = null; |
39 | 38 | private SolaceContainer solaceContainer = new SolaceContainer("solace/solace-pubsub-standard:latest").withExposedPorts(8080, 55555); |
40 | 39 | private SparkSession sparkSession; |
@@ -111,7 +110,7 @@ public void handleErrorEx(Object o, JCSMPException e, long l) { |
111 | 110 |
|
112 | 111 | @Test |
113 | 112 | @Order(1) |
114 | | - public void Should_ProcessData() throws TimeoutException, StreamingQueryException { |
| 113 | + void Should_ProcessData() throws TimeoutException, StreamingQueryException { |
115 | 114 | Path path = Paths.get("src", "test", "resources", "spark-checkpoint-1"); |
116 | 115 | // SparkSession sparkSession = SparkSession.builder() |
117 | 116 | // .appName("data_source_test") |
@@ -175,7 +174,7 @@ public void Should_ProcessData() throws TimeoutException, StreamingQueryExceptio |
175 | 174 |
|
176 | 175 | @Test |
177 | 176 | @Order(2) |
178 | | - public void Should_InitiateReplay_ALL_STRATEGY_And_ProcessData() throws TimeoutException, StreamingQueryException { |
| 177 | + void Should_InitiateReplay_ALL_STRATEGY_And_ProcessData() throws TimeoutException, StreamingQueryException { |
179 | 178 | Path path = Paths.get("src", "test", "resources", "spark-checkpoint-1"); |
180 | 179 | // SparkSession sparkSession = SparkSession.builder() |
181 | 180 | // .appName("data_source_test") |
@@ -229,7 +228,7 @@ public void Should_InitiateReplay_ALL_STRATEGY_And_ProcessData() throws TimeoutE |
229 | 228 |
|
230 | 229 | @Test |
231 | 230 | @Order(3) |
232 | | - public void Should_InitiateReplay_TIMEBASED_STRATEGY_And_ProcessData() throws TimeoutException, StreamingQueryException { |
| 231 | + void Should_InitiateReplay_TIMEBASED_STRATEGY_And_ProcessData() throws TimeoutException, StreamingQueryException { |
233 | 232 | Path path = Paths.get("src", "test", "resources", "spark-checkpoint-1"); |
234 | 233 | // SparkSession sparkSession = SparkSession.builder() |
235 | 234 | // .appName("data_source_test") |
@@ -284,7 +283,7 @@ public void Should_InitiateReplay_TIMEBASED_STRATEGY_And_ProcessData() throws Ti |
284 | 283 |
|
285 | 284 | @Test |
286 | 285 | @Order(4) |
287 | | - public void Should_InitiateReplay_REPLICATIONGROUPMESSAGEID_STRATEGY_And_ProcessData() throws TimeoutException, StreamingQueryException { |
| 286 | + void Should_InitiateReplay_REPLICATIONGROUPMESSAGEID_STRATEGY_And_ProcessData() throws TimeoutException, StreamingQueryException { |
288 | 287 | Path path = Paths.get("src", "test", "resources", "spark-checkpoint-1"); |
289 | 288 | // SparkSession sparkSession = SparkSession.builder() |
290 | 289 | // .appName("data_source_test") |
|
0 commit comments