Skip to content

Commit f3eef20

Browse files
committed
fix: add regex to replace hexdump lines
1 parent 748a0dd commit f3eef20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/stages_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ func normalizeTesterOutput(testerOutput []byte) []byte {
115115
"rdb_bytes": {regexp.MustCompile(`"\$[0-9]+\\r\\nREDIS.*"`)},
116116
"info_replication_bytes": {regexp.MustCompile(`"\$[0-9]+\\r\\n# Replication\\r\\n[^"]+"`)},
117117
"rdb_keys": {regexp.MustCompile(`\[stage-11\] .*Received .*`)},
118+
"hexdump": {regexp.MustCompile(`[0-9a-fA-F]{4} \| [0-9a-fA-F ]{47} \| .{0,16}`)},
118119
}
119120

120121
for replacement, regexes := range replacements {

0 commit comments

Comments
 (0)