HBASE-19986 If HBaseTestClassRule timesout a test, thread dump; ADDENDUM; white-space, checkstyle, and rb feedback by Duo
This commit is contained in:
parent
7cc239fb5a
commit
24bed6b3fb
@ -1,4 +1,4 @@
|
|||||||
/*
|
/**
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
* or more contributor license agreements. See the NOTICE file
|
* or more contributor license agreements. See the NOTICE file
|
||||||
* distributed with this work for additional information
|
* distributed with this work for additional information
|
||||||
|
@ -46,14 +46,11 @@ public class TestTimeout {
|
|||||||
Thread t = new Thread("HangingThread") {
|
Thread t = new Thread("HangingThread") {
|
||||||
public void run() {
|
public void run() {
|
||||||
synchronized(this) {
|
synchronized(this) {
|
||||||
while(true) {
|
while(true) {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
t.start();
|
t.start();
|
||||||
while (true) {
|
while (true) {}
|
||||||
// Just hang out too.
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user