diff options
author | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-11-20 17:08:02 +0800 |
---|---|---|
committer | Guillaume Ballet <gballet@gmail.com> | 2018-11-20 17:08:02 +0800 |
commit | 3d997b6decfaa42e37521ae20bf58886c8b2de8f (patch) | |
tree | 7b6cf5afa7680d71ece04f07463d196232a961cb /whisper | |
parent | d876f214e5500962d6acc1f99a6f2f7c5f63db8b (diff) | |
download | go-tangerine-3d997b6decfaa42e37521ae20bf58886c8b2de8f.tar go-tangerine-3d997b6decfaa42e37521ae20bf58886c8b2de8f.tar.gz go-tangerine-3d997b6decfaa42e37521ae20bf58886c8b2de8f.tar.bz2 go-tangerine-3d997b6decfaa42e37521ae20bf58886c8b2de8f.tar.lz go-tangerine-3d997b6decfaa42e37521ae20bf58886c8b2de8f.tar.xz go-tangerine-3d997b6decfaa42e37521ae20bf58886c8b2de8f.tar.zst go-tangerine-3d997b6decfaa42e37521ae20bf58886c8b2de8f.zip |
whisper: log errors on failed tests (#18134)
Debug traces to investigate a travis issue on MacOS
Diffstat (limited to 'whisper')
-rw-r--r-- | whisper/whisperv5/peer_test.go | 2 | ||||
-rw-r--r-- | whisper/whisperv6/peer_test.go | 2 |
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) |