dnishimura commented on a change in pull request #1155: SAMZA-2322: Integrate
startpoints with ZK Standalone integration tests.
URL: https://github.com/apache/samza/pull/1155#discussion_r327370291
##########
File path:
samza-test/src/test/java/org/apache/samza/test/processor/TestZkLocalApplicationRunner.java
##########
@@ -1230,6 +1294,159 @@ public void
testFirstProcessorDiesButSameRunIdForBatch() throws InterruptedExcep
appRunner3.waitForFinish();
}
+ private void writeStartpoints(StartpointManager startpointManager, String
streamName, Integer partitionCount, Startpoint startpoint) {
+ for (int p = 0; p < partitionCount; p++) {
+ startpointManager.writeStartpoint(new SystemStreamPartition(TEST_SYSTEM,
streamName, new Partition(p)), startpoint);
+ }
+ }
+
+ @Test
+ public void testStartpoints() throws InterruptedException {
Review comment:
@prateekm - Done. Reverted TestZkLAR (minus some minor refactoring) and
moved this to its own test harness class.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services