mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
addressed last comments
Signed-off-by: bwplotka <bwplotka@gmail.com>
This commit is contained in:
parent
75651e8074
commit
c97952c21f
1 changed files with 1 additions and 3 deletions
|
|
@ -4706,9 +4706,8 @@ metric: <
|
|||
s := teststorage.New(t)
|
||||
t.Cleanup(func() { _ = s.Close() })
|
||||
|
||||
appTest := teststorage.NewAppendable().Then(s)
|
||||
sl, _ := newTestScrapeLoop(t, func(sl *scrapeLoop) {
|
||||
sl.appendable = appTest
|
||||
sl.appendable = s
|
||||
sl.alwaysScrapeClassicHist = tc.alwaysScrapeClassicHistograms
|
||||
sl.convertClassicHistToNHCB = tc.convertClassicHistToNHCB
|
||||
sl.enableNativeHistogramScraping = true
|
||||
|
|
@ -4750,7 +4749,6 @@ metric: <
|
|||
}
|
||||
|
||||
// Validated what was appended can be queried.
|
||||
// TODO(bwplotka): Instead of testing TSDB+Querying, compute expected []samples and do a simple equal check.
|
||||
ctx := t.Context()
|
||||
q, err := s.Querier(time.Time{}.UnixNano(), time.Now().UnixNano())
|
||||
require.NoError(t, err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue