mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 10:33:11 -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
9e24a8d9cc
commit
1f0fce6235
|
|
@ -232,7 +232,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