Github user aljoscha commented on a diff in the pull request:
https://github.com/apache/flink/pull/2747#discussion_r86372111
--- Diff:
flink-streaming-java/src/test/java/org/apache/flink/streaming/util/AbstractStreamOperatorTestHarness.java
---
@@ -309,6 +310,85 @@ public void initializeState(OperatorStateHandles
operatorStateHandles) throws Ex
initializeCalled = true;
}
+ /**
+ * Takes the different {@link OperatorStateHandles} created by calling
{@link #snapshot(long, long)}
+ * on different instances of {@link AbstractStreamOperatorTestHarness}
(each one representing one subtask)
+ * and repacks them into a single {@link OperatorStateHandles} so that
the parallelism of the test
+ * can change arbitrarily (i.e. be able to scale both up and down).
+ * <p/>
--- End diff --
A new paragraph should start with `<p>`. `<p/>` should never be used in
Javadoc, AFAIK.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---