Merge pull request #13499 from bboreham/tweak-remote-tests
storage/remote: document why two benchmarks are skipped
This commit is contained in:
commit
34875ae8c7
|
@ -924,7 +924,7 @@ func BenchmarkSampleSend(b *testing.B) {
|
||||||
func BenchmarkStartup(b *testing.B) {
|
func BenchmarkStartup(b *testing.B) {
|
||||||
dir := os.Getenv("WALDIR")
|
dir := os.Getenv("WALDIR")
|
||||||
if dir == "" {
|
if dir == "" {
|
||||||
return
|
b.Skip("WALDIR env var not set")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find the second largest segment; we will replay up to this.
|
// 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) {
|
func BenchmarkRemoteWriteOOOSamples(b *testing.B) {
|
||||||
|
b.Skip("Not a valid benchmark (does not count to b.N)")
|
||||||
dir := b.TempDir()
|
dir := b.TempDir()
|
||||||
|
|
||||||
opts := tsdb.DefaultOptions()
|
opts := tsdb.DefaultOptions()
|
||||||
|
|
Loading…
Reference in New Issue