mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-02-25 22:13:09 -06:00
Review comments
This commit is contained in:
parent
2dd056f73e
commit
107483f0a2
|
|
@ -237,9 +237,9 @@ func testSyncServer(input, want []string, since string) {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
panic("dendrite-sync-api-server timed out")
|
panic("dendrite-sync-api-server timed out")
|
||||||
case err := <-done:
|
case err, open := <-done:
|
||||||
cmd.Process.Kill() // ensure server is dead, only cleaning up so don't care about errors this returns.
|
cmd.Process.Kill() // ensure server is dead, only cleaning up so don't care about errors this returns.
|
||||||
if err != nil {
|
if open { // channel is closed on success
|
||||||
fmt.Println("=============================================================================================")
|
fmt.Println("=============================================================================================")
|
||||||
fmt.Println("sync server failed to run. If failing with 'pq: password authentication failed for user' try:")
|
fmt.Println("sync server failed to run. If failing with 'pq: password authentication failed for user' try:")
|
||||||
fmt.Println(" export PGHOST=/var/run/postgresql\n")
|
fmt.Println(" export PGHOST=/var/run/postgresql\n")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue