prometheus/tsdb/wal
Mateusz Gozdek f4650c27e7 tsdb/wal: fix flaky TestReaderFuzz* tests
It seems sometimes you can get error like:

                Error:          Not equal:
                                expected: []byte(nil)
                                actual  : []byte{}

                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1,2 +1,3 @@
                                -([]uint8) <nil>
                                +([]uint8) {
                                +}

This commit does what bytes.Equal does to silence those differences. I'm
not sure if this is a correct solution or just covering up the actual bug.

Closes #9574

Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2021-11-09 14:32:20 +01:00
..
checkpoint.go TSDB: demistify SeriesRefs and ChunkRefs (#9536) 2021-11-06 15:40:04 +05:30
checkpoint_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
live_reader.go Switched to go-kit/log 2021-06-11 12:28:36 -04:00
reader.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
reader_test.go tsdb/wal: fix flaky TestReaderFuzz* tests 2021-11-09 14:32:20 +01:00
wal.go Fix two trivial lint warnings 2021-11-08 22:32:13 +01:00
wal_test.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
watcher.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
watcher_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00