mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-11 13:57:36 -08:00
Those links should not be reverted
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
653f343547
commit
73228b1b68
|
@ -652,7 +652,7 @@ func TestCompaction_populateBlock(t *testing.T) {
|
||||||
expErr: errors.New("found chunk with minTime: 10 maxTime: 30 outside of compacted minTime: 0 maxTime: 20"),
|
expErr: errors.New("found chunk with minTime: 10 maxTime: 30 outside of compacted minTime: 0 maxTime: 20"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// Introduced by https://github.com/prometheus/prometheus/tsdb/issues/347.
|
// Introduced by https://github.com/prometheus/tsdb/issues/347.
|
||||||
title: "Populate from single block containing extra chunk",
|
title: "Populate from single block containing extra chunk",
|
||||||
inputSeriesSamples: [][]seriesSamples{
|
inputSeriesSamples: [][]seriesSamples{
|
||||||
{
|
{
|
||||||
|
@ -692,7 +692,7 @@ func TestCompaction_populateBlock(t *testing.T) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// Introduced by https://github.com/prometheus/prometheus/tsdb/pull/539.
|
// Introduced by https://github.com/prometheus/tsdb/pull/539.
|
||||||
title: "Populate from three blocks that the last two are overlapping.",
|
title: "Populate from three blocks that the last two are overlapping.",
|
||||||
inputSeriesSamples: [][]seriesSamples{
|
inputSeriesSamples: [][]seriesSamples{
|
||||||
{
|
{
|
||||||
|
|
|
@ -1410,7 +1410,7 @@ func TestOverlappingBlocksDetectsAllOverlaps(t *testing.T) {
|
||||||
}, OverlappingBlocks(nc1))
|
}, OverlappingBlocks(nc1))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Regression test for https://github.com/prometheus/prometheus/tsdb/issues/347
|
// Regression test for https://github.com/prometheus/tsdb/issues/347
|
||||||
func TestChunkAtBlockBoundary(t *testing.T) {
|
func TestChunkAtBlockBoundary(t *testing.T) {
|
||||||
db, closeFn := openTestDB(t, nil, nil)
|
db, closeFn := openTestDB(t, nil, nil)
|
||||||
defer func() {
|
defer func() {
|
||||||
|
|
|
@ -1044,7 +1044,7 @@ func TestSeriesIterator(t *testing.T) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// Regression for: https://github.com/prometheus/prometheus/tsdb/pull/97
|
// Regression for: https://github.com/prometheus/tsdb/pull/97
|
||||||
func TestChunkSeriesIterator_DoubleSeek(t *testing.T) {
|
func TestChunkSeriesIterator_DoubleSeek(t *testing.T) {
|
||||||
chkMetas := []chunks.Meta{
|
chkMetas := []chunks.Meta{
|
||||||
tsdbutil.ChunkFromSamples([]tsdbutil.Sample{}),
|
tsdbutil.ChunkFromSamples([]tsdbutil.Sample{}),
|
||||||
|
|
|
@ -49,7 +49,7 @@ func TestWALRepair_ReadingError(t *testing.T) {
|
||||||
},
|
},
|
||||||
// Ensures that the page buffer is big enough to fit
|
// Ensures that the page buffer is big enough to fit
|
||||||
// an entire page size without panicking.
|
// an entire page size without panicking.
|
||||||
// https://github.com/prometheus/prometheus/tsdb/pull/414
|
// https://github.com/prometheus/tsdb/pull/414
|
||||||
"bad_header": {
|
"bad_header": {
|
||||||
1,
|
1,
|
||||||
func(f *os.File) {
|
func(f *os.File) {
|
||||||
|
|
Loading…
Reference in a new issue