Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sdk: make test_batch_span_processor_scheduled_delay a bit more robust
It happened that tests failed because the delay was fired some microseconds earlier: > self.assertGreaterEqual((export_time - start_time) * 1e3, 500) E AssertionError: 499.9737739562988 not greater than or equal to 500 Use assertAlmostEqual to accept a similar enough value (delta=25) and avoid too big values. Skip tests on windows pypy because of random huge spikes: E AssertionError: 2253.103017807007 != 500 within 25 delta (1744.1030178070068 difference) Fix open-telemetry#3911
- Loading branch information