aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/server_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-02-07 07:13:22 +0800
committerFelix Lange <fjl@twurst.com>2015-02-07 07:43:52 +0800
commite34d1341022a51d8a86c4836c91e4e0ded888d27 (patch)
tree35dacd9390e6181803329f8c5c7d1cb076ba0128 /p2p/server_test.go
parent8564eb9f7efcc7a0e639f6a45d7e67037fedac5f (diff)
downloaddexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar
dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar.gz
dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar.bz2
dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar.lz
dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar.xz
dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar.zst
dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.zip
p2p: fixes for actual connections
The unit test hooks were turned on 'in production'.
Diffstat (limited to 'p2p/server_test.go')
-rw-r--r--p2p/server_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/p2p/server_test.go b/p2p/server_test.go
index 89300cf1c..d1e1640fb 100644
--- a/p2p/server_test.go
+++ b/p2p/server_test.go
@@ -118,6 +118,7 @@ func TestServerBroadcast(t *testing.T) {
srv := startTestServer(t, func(p *Peer) {
p.protocols = []Protocol{discard}
p.startSubprotocols([]Cap{discard.cap()})
+ p.noHandshake = true
connected.Done()
})
defer srv.Stop()