You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-07-05 00:28:58 +02:00
Vendor Thrift dependency (#1551)
* Vendor Thrift dependency * Fix build * Changelog entry * Ignore third_party for coverage purposes * Re-run tests * Re-run tests * Re-run tests * Re-run tests * Relax time comparisons Fixes #1559. Some unit tests were flaking in CI because they expected the timestamp to advance during a test, when it's possible for it to be unchanged instead. This change switches the offending "<" comparisons to "<=". * Re-run tests * Relax more time comparisons * Re-run tests Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
@ -335,8 +335,8 @@ func TestBasicTimestamps(t *testing.T) {
|
||||
}))
|
||||
|
||||
// The first start time is set in the constructor.
|
||||
require.True(t, beforeNew.Before(start1))
|
||||
require.True(t, afterNew.After(start1))
|
||||
require.False(t, beforeNew.After(start1))
|
||||
require.False(t, afterNew.Before(start1))
|
||||
|
||||
for i := 0; i < 2; i++ {
|
||||
b.StartCollection()
|
||||
|
Reference in New Issue
Block a user