prometheus/cmd/promtool
David Leadbeater e7e60623ff
promtool: Calculate mint and maxt per test (#8096)
* promtool: Calculate mint and maxt per test

Previously a single test that used a later eval time would make all
other tests in the file share the [mint, maxt] and potentially evaluate
far more samples than needed.

Fixes: #8019

Signed-off-by: David Leadbeater <dgl@dgl.cx>
2020-10-24 12:03:55 +01:00
..
testdata promtool: Calculate mint and maxt per test (#8096) 2020-10-24 12:03:55 +01:00
archive.go Make file permissions set to allow for wider umask options. (#7782) 2020-08-12 23:23:17 +02:00
debug.go collect cpu and trace profiles with the promtool debug command (#4897) 2018-11-23 17:57:31 +02:00
main.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
main_test.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
tsdb.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
unittest.go promtool: Calculate mint and maxt per test (#8096) 2020-10-24 12:03:55 +01:00
unittest_test.go promtool: Calculate mint and maxt per test (#8096) 2020-10-24 12:03:55 +01:00