@Test
public void test2() throws IOException {

  try (Closeable runUdpServer = runUdpServer(false)) {
    Timing timing = SntpClient.requestTime("localhost", 50123, 20);
    long currentTimeMachine = System.currentTimeMillis();
    long currentTimeNtp = timing.getTime();
    LOG.debug("Current Timing = {} ", timing);
    LOG.debug("Current time machine = {} ", Instant.ofEpochMilli(currentTimeMachine));
    LOG.debug("Current time ntp = {} ", Instant.ofEpochMilli(currentTimeNtp));
    Assert.assertTrue(Math.abs(currentTimeNtp - currentTimeMachine) < 10000);
  }
}