Skip to content

Commit eba116e

Browse files
committed
Fix integration test
1 parent 94af14f commit eba116e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdks/java/io/solace/src/test/java/org/apache/beam/sdk/io/solace/it/SolaceIOMultipleSempIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public void test01writeAndReadWithMultipleSempClientFactory() {
107107
SolaceIO.read()
108108
.from(Queue.fromName(QUEUE_NAME))
109109
.withMaxNumConnections(1)
110+
.withDeduplicateRecords(true)
110111
.withSempClientFactory(
111112
BasicAuthMultipleSempClientFactory.builder()
112113
.backlogHosts(
@@ -172,7 +173,7 @@ private Pipeline createWriterPipeline(
172173
.withWriterType(writerType)
173174
.withDeliveryMode(DeliveryMode.PERSISTENT)
174175
.withNumberOfClientsPerWorker(1)
175-
.withMaxNumOfUsedWorkers(1)
176+
.withNumShards(1)
176177
.withSessionServiceFactory(
177178
BasicAuthJcsmpSessionServiceFactory.builder()
178179
.host("localhost:" + solaceContainerJcsmpPort)

0 commit comments

Comments
 (0)