evans-ye commented on a change in pull request #248:
URL: https://github.com/apache/flink-statefun/pull/248#discussion_r685359782



##########
File path: 
statefun-e2e-tests/statefun-smoke-e2e-driver/src/test/java/org/apache/flink/statefun/e2e/smoke/Utils.java
##########
@@ -62,12 +62,13 @@ public static SourceCommand 
aRelayedStateModificationCommand(
 
   /** Blocks the currently executing thread until enough successful 
verification results supply. */
   static void awaitVerificationSuccess(
-      Supplier<TypedValue> results, final int numberOfFunctionInstances) {
+      Supplier<TypedValue> results, final int numberOfFunctionInstances)
+      throws InvalidProtocolBufferException {
     Set<Integer> successfullyVerified = new HashSet<>();
     while (successfullyVerified.size() != numberOfFunctionInstances) {
       TypedValue typedValue = results.get();
       VerificationResult result =
-          TypedValueUtil.unpackProtobufMessage(typedValue, 
VerificationResult.parser());
+          
VerificationResult.parser().parseFrom(typedValue.getValue().toByteArray());

Review comment:
       I guess that's for future to write up other kind of e2e tests with 
different kind of verification? Anyhow that might be far from now.




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to