Merge pull request #13499 from bboreham/tweak-remote-tests

storage/remote: document why two benchmarks are skipped
pull/13200/head
Bryan Boreham 10 months ago committed by GitHub
commit 34875ae8c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -924,7 +924,7 @@ func BenchmarkSampleSend(b *testing.B) {
func BenchmarkStartup(b *testing.B) {
dir := os.Getenv("WALDIR")
if dir == "" {
return
b.Skip("WALDIR env var not set")
}
// Find the second largest segment; we will replay up to this.

@ -204,6 +204,7 @@ func TestCommitErr(t *testing.T) {
}
func BenchmarkRemoteWriteOOOSamples(b *testing.B) {
b.Skip("Not a valid benchmark (does not count to b.N)")
dir := b.TempDir()
opts := tsdb.DefaultOptions()

Loading…
Cancel
Save