mirror of
https://github.com/prometheus/prometheus.git
synced 2026-03-21 18:10:42 -04:00
Fix tests
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
This commit is contained in:
parent
a0d0a8efe8
commit
8a02ae58d4
1 changed files with 4 additions and 2 deletions
|
|
@ -7514,8 +7514,9 @@ func TestCompactHeadWithSTStorage_AppendV2(t *testing.T) {
|
|||
NoLockfile: true,
|
||||
MinBlockDuration: int64(time.Hour * 2 / time.Millisecond),
|
||||
MaxBlockDuration: int64(time.Hour * 2 / time.Millisecond),
|
||||
WALCompression: compression.Snappy,
|
||||
EnableSTStorage: true,
|
||||
WALCompression: compression.Snappy,
|
||||
EnableSTStorage: true,
|
||||
EnableXOR2Encoding: true,
|
||||
}
|
||||
db := newTestDB(t, withOpts(opts))
|
||||
ctx := context.Background()
|
||||
|
|
@ -7654,6 +7655,7 @@ func TestDBAppenderV2_STStorage_OutOfOrder(t *testing.T) {
|
|||
opts := DefaultOptions()
|
||||
opts.OutOfOrderTimeWindow = 300 * time.Minute.Milliseconds()
|
||||
opts.EnableSTStorage = true
|
||||
opts.EnableXOR2Encoding = true
|
||||
db := newTestDB(t, withOpts(opts))
|
||||
db.DisableCompactions()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue