joerghoh commented on code in PR #156: URL: https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/156#discussion_r1981537647
########## src/test/java/org/apache/sling/resourceresolver/impl/mapping/VanityPathMapEntriesTest.java: ########## @@ -165,7 +166,11 @@ public void setup() throws Exception { // wait for background thread to complete private void waitForBgInit() { + long start = System.currentTimeMillis(); while (!mapEntries.vph.isReady()) { + // give up after five seconds Review Comment: ```suggestion // give up after five seconds to avoid tests taking too long/forever ``` -- 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: dev-unsubscr...@sling.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org