snikhil5 commented on code in PR #3479:
URL: https://github.com/apache/storm/pull/3479#discussion_r885709882


##########
storm-client/test/jvm/org/apache/storm/streams/processors/CoGroupByKeyProcessorTest.java:
##########
@@ -18,24 +18,26 @@
 import java.util.List;
 import java.util.Set;
 import org.apache.storm.streams.Pair;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
 
-import static org.junit.Assert.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertEquals;
 
 public class CoGroupByKeyProcessorTest {
     private CoGroupByKeyProcessor<Integer, Integer, Integer> 
coGroupByKeyProcessor;
-    private String firstStream = "first";
-    private String secondStream = "second";
-    private List<Pair<Integer, Pair<List<Integer>, List<Integer>>>> res = new 
ArrayList<>();
+    private final String firstStream = "first";
+    private final String secondStream = "second";
+    private final List<Pair<Integer, Pair<List<Integer>, List<Integer>>>> res 
= new ArrayList<>();
+
+    private final ProcessorContext<Pair<Integer, Pair<List<Integer>, 
List<Integer>>>> context =
+        new ProcessorContext<Pair<Integer, Pair<List<Integer>, 
List<Integer>>>>() {

Review Comment:
   No it throws error.



-- 
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: dev-unsubscr...@storm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to