majialoong commented on code in PR #23407:
URL: https://github.com/apache/kafka/pull/23407#discussion_r3960351788


##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/KeyValueStoreMaterializerTest.java:
##########
@@ -179,10 +178,10 @@ public void 
shouldCreateHeadersStoreWithProvidedSupplierAndCachingAndLoggingEnab
 
         final WrappedStateStore<?, ?, ?> caching = (WrappedStateStore<?, ?, 
?>) ((WrappedStateStore<?, ?, ?>) store).wrapped();
         final StateStore logging = caching.wrapped();
-        assertThat(innerKeyValueStore.name(), equalTo(store.name()));
-        assertThat(store, 
instanceOf(MeteredTimestampedKeyValueStoreWithHeaders.class));
-        assertThat(caching, instanceOf(CachingKeyValueStore.class));
-        assertThat(logging, 
instanceOf(ChangeLoggingTimestampedKeyValueBytesStoreWithHeaders.class));
+        assertEquals(innerKeyValueStore.name(), store.name());

Review Comment:
   `innerKeyValueStore.name()` should be the expected value, and `store.name()` 
should be the actual value.



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