ekaterinadimitrova2 commented on a change in pull request #1212:
URL: https://github.com/apache/cassandra/pull/1212#discussion_r712211212
##########
File path: test/unit/org/apache/cassandra/config/DatabaseDescriptorRefTest.java
##########
@@ -176,13 +177,15 @@
static final Set<String> checkedClasses = new
HashSet<>(Arrays.asList(validClasses));
@Test
+ @SuppressWarnings({"DynamicRegexReplaceableByCompiledPattern",
"UseOfSystemOutOrSystemErr"})
public void testDatabaseDescriptorRef() throws Throwable
{
PrintStream out = System.out;
PrintStream err = System.err;
ThreadMXBean threads = ManagementFactory.getThreadMXBean();
int threadCount = threads.getThreadCount();
+ List<Long> existingThreadids =
Arrays.stream(threads.getAllThreadIds()).boxed().collect(Collectors.toList());
Review comment:
nit: `existingThreadIds` or `existingThreadIDs`
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]