Fixed nsToMs calculation in OverseerTest

This commit is contained in:
Shalin Shekhar Mangar 2017-05-08 16:11:01 +05:30
parent 54061ed4a6
commit a04d9c1963
1 changed files with 1 additions and 1 deletions

View File

@ -1083,7 +1083,7 @@ public class OverseerTest extends SolrTestCaseJ4 {
}
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) {