[
https://issues.apache.org/jira/browse/SOLR-14247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17410684#comment-17410684
]
Mark Robert Miller commented on SOLR-14247:
-------------------------------------------
Here it is ...
This looks for log4j 1.x
{code:java}
private static boolean isLog4jActive() {
try {
// Make sure we have log4j LogManager in classpath
Class.forName("org.apache.log4j.LogManager");{code}
This changes it to look for log4j2.x
{code:java}
private static boolean isLog4jActive() {
try {
// Make sure we have log4j LogManager in classpath
Class.forName("org.apache.logging.log4j.LogManager");{code}
> IndexSizeTriggerMixedBoundsTest does a lot of sleeping
> ------------------------------------------------------
>
> Key: SOLR-14247
> URL: https://issues.apache.org/jira/browse/SOLR-14247
> Project: Solr
> Issue Type: Bug
> Components: Tests
> Reporter: Mike Drob
> Assignee: Mike Drob
> Priority: Minor
> Fix For: main (9.0)
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When I run tests locally, the slowest reported test is always
> IndexSizeTriggerMixedBoundsTest coming in at around 2 minutes.
> I took a look at the code and discovered that at least 80s of that is all
> sleeps!
> There might need to be more synchronization and ordering added back in, but
> when I removed all of the sleeps the test still passed locally for me, so I'm
> not too sure what the point was or why we were slowing the system down so
> much.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]