fix errors

fix readme
This commit is contained in:
alexisvisco 2019-03-27 15:39:52 +01:00
parent 241f6b889b
commit 3061d33062
4 changed files with 42 additions and 44 deletions

View file

@ -23,8 +23,8 @@ func BenchmarkIngesterChannel_BulkPushMaxCPUs(b *testing.B) {
b.Log(e)
b.Fail()
}
be, e := ingester.BulkPush("test", "testMaxCpus", cpus, records)
if len(be) > 0 || e != nil {
be := ingester.BulkPush("test", "testMaxCpus", cpus, records)
if len(be) > 0 {
b.Log(be, e)
b.Fail()
}
@ -42,8 +42,8 @@ func BenchmarkIngesterChannel_BulkPush10(b *testing.B) {
b.Log(e)
b.Fail()
}
be, e := ingester.BulkPush("test", "test10", 10, records)
if len(be) > 0 || err != nil {
be := ingester.BulkPush("test", "test10", 10, records)
if len(be) > 0 {
b.Log(be, err)
b.Fail()
}