Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ public void run() {
getLog().info("[MAVEN-CORE-IT-LOG] Thread " + this + " uses " + tccl);
Thread.currentThread().setContextClassLoader(tccl);
while (go.isEmpty()) {
// wait for start
Comment thread
Pankraz76 marked this conversation as resolved.
try {
Thread.sleep(100); // wait for the start
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Thread.sleep(100); // wait for the start
MILLISECONDS.sleep(100); // wait for the start

https://docs.oracle.com/javase/9/docs/api/java/util/concurrent/TimeUnit.html#sleep-long-

} catch (InterruptedException ignored) {
Comment thread
Pankraz76 marked this conversation as resolved.
}
}
for (int j = 0; j < 10 * 1000; j++) {
try {
Expand Down