Browse Source

Proper Test Error Reporting

pull/7481/head
chrislu 2 months ago
parent
commit
778c1cdd82
  1. 2
      weed/util/log_buffer/log_buffer_flush_gap_test.go

2
weed/util/log_buffer/log_buffer_flush_gap_test.go

@ -296,7 +296,7 @@ func TestFlushOffsetGap_ConcurrentWriteAndFlush(t *testing.T) {
Value: []byte(fmt.Sprintf("message-%d", i)),
TsNs: time.Now().UnixNano(),
}); err != nil {
t.Logf("Failed to add buffer: %v", err)
t.Errorf("Failed to add buffer: %v", err)
return
}
if i%50 == 0 {

Loading…
Cancel
Save