mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-15 18:13:09 -06:00
Log events as string that are found when the dendrite-upgrade-tests fail to aid debugging
Signed-off-by: Brian Meek <brian@hntlabs.com>
This commit is contained in:
parent
e1ce3f0458
commit
b04b637d66
|
|
@ -191,7 +191,7 @@ func verifyTestsRan(baseURL string, branchNames []string) error {
|
||||||
wantMsgCount := len(branchNames) * 4
|
wantMsgCount := len(branchNames) * 4
|
||||||
if msgCount != wantMsgCount {
|
if msgCount != wantMsgCount {
|
||||||
msgArrayJSON, _ := json.Marshal(msgArray)
|
msgArrayJSON, _ := json.Marshal(msgArray)
|
||||||
return fmt.Errorf("got %d messages in global room, want %d msgArray %v", msgCount, wantMsgCount, msgArrayJSON)
|
return fmt.Errorf("got %d messages in global room, want %d msgArray %v", msgCount, wantMsgCount, string(msgArrayJSON))
|
||||||
}
|
}
|
||||||
log.Println(" messages exist: OK")
|
log.Println(" messages exist: OK")
|
||||||
return nil
|
return nil
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue