wernerdv commented on code in PR #12840:
URL: https://github.com/apache/ignite/pull/12840#discussion_r2882918643
##########
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/dump/IgniteCacheDumpSelf2Test.java:
##########
@@ -1219,6 +1220,190 @@ public void testReadEncrypted() throws Exception {
IntStream.range(0, KEYS_CNT).forEach(i -> assertEquals((Integer)i,
dumpEntries.get(i)));
}
+ /** */
+ @Test
+ public void testDumpReaderDebugLogsGroupName() throws Exception {
+ String id = "test";
+ setLoggerDebugLevel();
+ ListeningTestLogger testLog = new ListeningTestLogger(log);
+
+ LogListener errLsnr = LogListener.matches("Error consuming partition")
+ .andMatches("grpName=" + GRP)
+ .build();
+ LogListener cnsmLsnr = LogListener.matches("Consuming partition")
+ .andMatches("grpName=" + GRP)
+ .build();
+ testLog.registerListener(errLsnr);
+ testLog.registerListener(cnsmLsnr);
Review Comment:
```suggestion
String id = "test";
setLoggerDebugLevel();
ListeningTestLogger testLog = new ListeningTestLogger(log);
LogListener errLsnr = LogListener.matches("Error consuming
partition").andMatches("grpName=" + GRP).build();
LogListener cnsmLsnr = LogListener.matches("Consuming
partition").andMatches("grpName=" + GRP).build();
testLog.registerListener(errLsnr);
testLog.registerListener(cnsmLsnr);
```
--
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]