mirror of
https://github.com/prometheus/prometheus.git
synced 2025-07-03 11:03:25 +00:00
Switch chunk encoding to type 2 where it was hardcoded type 1 before
The chunk encoding was hardcoded there because it mostly doesn't matter what encoding is chosen in that test. Since type 1 is battle-hardened enough, I'm switching to type 2 here so that we can catch unexpected problems as a byproduct. My expectation is that the chunk encoding doesn't matter anyway, as said, but then "unexpected problems" contains the word "unexpected".
This commit is contained in:
parent
c72979e3ed
commit
4b574e8a61
5 changed files with 11 additions and 11 deletions
|
@ -24,7 +24,7 @@ import (
|
|||
)
|
||||
|
||||
func TestRuleEval(t *testing.T) {
|
||||
storage, closer := local.NewTestStorage(t, 1)
|
||||
storage, closer := local.NewTestStorage(t, 2)
|
||||
defer closer.Close()
|
||||
engine := promql.NewEngine(storage, nil)
|
||||
now := model.Now()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue