You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@samza.apache.org by GitBox <gi...@apache.org> on 2019/03/20 00:24:37 UTC

[GitHub] [samza] Sanil15 commented on a change in pull request #962: SAMZA-2135: Provide a way inject ExternalContext to TestRunner

Sanil15 commented on a change in pull request #962: SAMZA-2135: Provide a way inject ExternalContext to TestRunner
URL: https://github.com/apache/samza/pull/962#discussion_r267147519
 
 

 ##########
 File path: samza-test/src/test/java/org/apache/samza/test/framework/StreamTaskIntegrationTest.java
 ##########
 @@ -263,4 +268,10 @@ public void genData(Map<Integer, List<KV>> inputPartitionData, Map<Integer, List
     }
   }
 
-}
\ No newline at end of file
+}
+
+class TestContext implements ExternalContext {
+  public int getMultiplier() {
+    return 10;
 
 Review comment:
   sure

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services