'Tests there are logs again if the
clock skew happens after`warning_interval`
@since 3.8.0
@jira_ticket PYTHON-676
@expected_result logs
@test_category timing'

def test_warning_interval_respected_logs(self):

    tsg = timestamps.MonotonicTimestampGenerator(warning_interval=1e-06, warning_threshold=1e-06)
    tsg.last = 100
    tsg._next_timestamp(70, tsg.last)
    self.assertEqual(len(self.patched_timestamp_log.warn.call_args_list), 1)
    tsg._next_timestamp(72, tsg.last)
    self.assertEqual(len(self.patched_timestamp_log.warn.call_args_list), 2)
