aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Evangelatov <anton.evangelatov@gmail.com>2018-11-20 17:08:02 +0800
committerGuillaume Ballet <gballet@gmail.com>2018-11-20 17:08:02 +0800
commit3d997b6decfaa42e37521ae20bf58886c8b2de8f (patch)
tree7b6cf5afa7680d71ece04f07463d196232a961cb
parentd876f214e5500962d6acc1f99a6f2f7c5f63db8b (diff)
downloaddexon-3d997b6decfaa42e37521ae20bf58886c8b2de8f.tar.gz
dexon-3d997b6decfaa42e37521ae20bf58886c8b2de8f.tar.zst
dexon-3d997b6decfaa42e37521ae20bf58886c8b2de8f.zip
whisper: log errors on failed tests (#18134)
Debug traces to investigate a travis issue on MacOS
-rw-r--r--whisper/whisperv5/peer_test.go2
-rw-r--r--whisper/whisperv6/peer_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/whisper/whisperv5/peer_test.go b/whisper/whisperv5/peer_test.go
index 35616aaaf..244953207 100644
--- a/whisper/whisperv5/peer_test.go
+++ b/whisper/whisperv5/peer_test.go
@@ -139,7 +139,7 @@ func initialize(t *testing.T) {
err = node.server.Start()
if err != nil {
- t.Fatalf("failed to start server %d.", i)
+ t.Fatalf("failed to start server %d. err: %v", i, err)
}
for j := 0; j < i; j++ {
diff --git a/whisper/whisperv6/peer_test.go b/whisper/whisperv6/peer_test.go
index 65e62d96c..c5b044e1a 100644
--- a/whisper/whisperv6/peer_test.go
+++ b/whisper/whisperv6/peer_test.go
@@ -232,7 +232,7 @@ func initialize(t *testing.T) {
func startServer(t *testing.T, s *p2p.Server) {
err := s.Start()
if err != nil {
- t.Fatalf("failed to start the fisrt server.")
+ t.Fatalf("failed to start the first server. err: %v", err)
}
atomic.AddInt64(&result.started, 1)