mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-28 03:20:11 +00:00
test: stabilize metrics flush visibility
Some checks failed
Some checks failed
This commit is contained in:
parent
b017f8edcd
commit
76c3f1ac88
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ func TestStoreFlushMakesQueuedWritesVisible(t *testing.T) {
|
|||
}
|
||||
defer store.Close()
|
||||
|
||||
ts := time.Unix(2000, 0)
|
||||
ts := time.Now().UTC().Add(-time.Second)
|
||||
store.Write("node", "node-1", "cpu", 42, ts)
|
||||
|
||||
// With a buffer size of 1, the write above is already queued asynchronously.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue