prometheus/storage
Dan Milstein 007907b410 Fix one of the tests for a remote storage QueueManager
Specifically, the TestSpawnNotMoreThanMaxConcurrentSendsGoroutines was failing on a fresh checkout of master.

The test had a race condition -- it would only pass if one of the
spawned goroutines happened to very quickly pull a set of samples off an
internal queue.

This patch rewrites the test so that it deterministically waits until
all samples have been pulled off that queue.  In case of errors, it also
now reports on the difference between what it expected and what it found.

I verified that, if the code under test is deliberately broken, the test
successfully reports on that.
2016-08-23 16:26:33 -04:00
..
local Make the storage interface higher-level. 2016-07-25 13:59:22 +02:00
metric storage: improve index lookups 2016-07-20 17:35:53 +02:00
remote Fix one of the tests for a remote storage QueueManager 2016-08-23 16:26:33 -04:00
storage.go Fix deadlock, structure target logging 2016-02-03 10:39:34 +01:00