public void testGetTimestamps() throws IOException, InterruptedException, TTransportException, ChronosException {
final ChronosServer chronosServer = createChronosServer(new HostPort("127.0.0.1", 2188));
Thread thread = new Thread() {
@Override
public void run() {
chronosServer.run();
}
};
thread.start();
Thread.sleep(500); // wait for server to start