Skip to content

Commit b9ea28c

Browse files
authored
test(outputs.stackdriver): Fix interval test (influxdata#17951)
1 parent 03b0eb1 commit b9ea28c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/outputs/stackdriver/stackdriver_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ func TestIntervalEndpoints(t *testing.T) {
761761
// times are backdated 1ms from the end time.
762762
require.GreaterOrEqual(t, startTime.AsTime().UTC().Unix(), earlier.UTC().Unix())
763763
} else {
764-
require.GreaterOrEqual(t, startTime.AsTime().UTC().Unix(), later.UTC().Unix())
764+
require.LessOrEqual(t, startTime.AsTime().UTC().Unix(), later.UTC().Unix())
765765
}
766766
}
767767

0 commit comments

Comments
 (0)