From 048935f548c731e288497656e52b29481692f3ad Mon Sep 17 00:00:00 2001 From: Bartlomiej Plotka Date: Mon, 27 Jul 2020 20:50:15 +0100 Subject: [PATCH] Updated TSDB with fixes. Signed-off-by: Bartlomiej Plotka --- go.mod | 2 +- pkg/store/storepb/testutil/series.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 4dbebbc91f3..9888e9372e6 100644 --- a/go.mod +++ b/go.mod @@ -74,7 +74,7 @@ require ( replace ( // Make sure Cortex is not forcing us to some other Prometheus version. // TODO: This points to https://github.com/prometheus/prometheus/pull/7069. Remove and point to master once merged. - github.com/prometheus/prometheus => github.com/prometheus/prometheus v1.8.2-0.20200724113653-2605f60545cb + github.com/prometheus/prometheus => github.com/prometheus/prometheus eee497165080d4fa693cea7c00e6886e88f3f745 k8s.io/klog => k8s.io/klog v0.3.1 k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30 ) diff --git a/pkg/store/storepb/testutil/series.go b/pkg/store/storepb/testutil/series.go index 3f28ec2c3c1..3347b518ba9 100644 --- a/pkg/store/storepb/testutil/series.go +++ b/pkg/store/storepb/testutil/series.go @@ -69,7 +69,7 @@ func CreateHeadWithSeries(t testing.TB, j int, opts HeadGenOptions) (*tsdb.Head, testutil.Ok(t, err) } - h, err := tsdb.NewHead(nil, nil, w, 10000000, tsdbDir, nil, tsdb.DefaultStripeSize, nil) + h, err := tsdb.NewHead(nil, nil, w, tsdb.DefaultBlockDuration, tsdbDir, nil, tsdb.DefaultStripeSize, nil) testutil.Ok(t, err) app := h.Appender()