Browse Source

Merge pull request #15338 from bboreham/cosmetic-tsdb

[COMMENT] Remove duplicate line
pull/15339/head
Bryan Boreham 2 weeks ago committed by GitHub
parent
commit
02aa6d1de6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      tsdb/ooo_head_test.go

1
tsdb/ooo_head_test.go

@ -27,7 +27,6 @@ import (
const testMaxSize int = 32
// Formulas chosen to make testing easy.
// Formulas chosen to make testing easy.
func valEven(pos int) int64 { return int64(pos*2 + 2) } // s[0]=2, s[1]=4, s[2]=6, ..., s[31]=64 - Predictable pre-existing values
func valOdd(pos int) int64 { return int64(pos*2 + 1) } // s[0]=1, s[1]=3, s[2]=5, ..., s[31]=63 - New values will interject at chosen position because they sort before the pre-existing vals.

Loading…
Cancel
Save