Taher-Ghaleb commented on code in PR #14264:
URL: https://github.com/apache/kafka/pull/14264#discussion_r1306535265


##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/StoreToProcessorContextAdapterTest.java:
##########
@@ -43,63 +45,87 @@ public void setUp() {
         context = StoreToProcessorContextAdapter.adapt(delegate);
     }
 
-    @Test(expected = UnsupportedOperationException.class)
+    @Test
     public void shouldThrowOnCurrentSystemTime() {
-        context.currentSystemTimeMs();
+        assertThrows(UnsupportedOperationException.class, () -> {
+            context.currentSystemTimeMs();
+        });

Review Comment:
   Thanks for pointing this out. I agree. I will fix this shortly.



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