mirror of https://github.com/apache/lucene.git
Fixed nsToMs calculation in OverseerTest
This commit is contained in:
parent
54061ed4a6
commit
a04d9c1963
|
@ -1083,7 +1083,7 @@ public class OverseerTest extends SolrTestCaseJ4 {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static long nsToMs(double ns) {
|
private static long nsToMs(double ns) {
|
||||||
return TimeUnit.NANOSECONDS.convert((long)ns, TimeUnit.MILLISECONDS);
|
return TimeUnit.MILLISECONDS.convert((long)ns, TimeUnit.NANOSECONDS);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void close(MockZKController mockController) {
|
private void close(MockZKController mockController) {
|
||||||
|
|
Loading…
Reference in New Issue