mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
typos correct
Signed-off-by: kjinan <2008kongxiangsheng@163.com>
This commit is contained in:
parent
277bac622a
commit
24869ff2d0
|
@ -2042,7 +2042,7 @@ func TestHeadMintAfterTruncation(t *testing.T) {
|
||||||
require.Equal(t, int64(4000), head.MinTime())
|
require.Equal(t, int64(4000), head.MinTime())
|
||||||
require.Equal(t, int64(4000), head.minValidTime.Load())
|
require.Equal(t, int64(4000), head.minValidTime.Load())
|
||||||
|
|
||||||
// After truncation outside the appendable windown if the actual min time
|
// After truncation outside the appendable window if the actual min time
|
||||||
// is in the appendable window then we should leave mint at the start of appendable window.
|
// is in the appendable window then we should leave mint at the start of appendable window.
|
||||||
require.NoError(t, head.Truncate(5000))
|
require.NoError(t, head.Truncate(5000))
|
||||||
require.Equal(t, head.appendableMinValidTime(), head.MinTime())
|
require.Equal(t, head.appendableMinValidTime(), head.MinTime())
|
||||||
|
|
Loading…
Reference in a new issue