HBASE-19986 If HBaseTestClassRule timesout a test, thread dump; ADDENDUM; white-space, checkstyle, and rb feedback by Duo

This commit is contained in:
Michael Stack 2018-02-12 18:12:08 -08:00
parent 7cc239fb5a
commit 24bed6b3fb
3 changed files with 15 additions and 18 deletions

View File

@ -1,4 +1,4 @@
/*
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information

View File

@ -46,14 +46,11 @@ public class TestTimeout {
Thread t = new Thread("HangingThread") {
public void run() {
synchronized(this) {
while(true) {
}
while(true) {}
}
}
};
t.start();
while (true) {
// Just hang out too.
}
while (true) {}
}
}