p2p: changed logger broken discovery tests

This commit is contained in:
Anton Evangelatov 2018-03-04 14:32:29 +01:00
parent f2e94a2c77
commit d839200024
2 changed files with 1 additions and 2 deletions

View file

@ -201,7 +201,7 @@ func (n *ExecNode) Start(snapshots map[string][]byte) (err error) {
go func() { go func() {
s := bufio.NewScanner(stderrR) s := bufio.NewScanner(stderrR)
for s.Scan() { for s.Scan() {
if strings.Contains(s.Text(), "WebSocket endpoint opened:") { if strings.Contains(s.Text(), "WebSocket endpoint opened") {
wsAddrC <- wsAddrPattern.FindString(s.Text()) wsAddrC <- wsAddrPattern.FindString(s.Text())
} }
} }

View file

@ -87,7 +87,6 @@ func testDiscoverySimulationDockerAdapter(t *testing.T, nodes, conns int) {
} }
func TestDiscoverySimulationExecAdapter(t *testing.T) { func TestDiscoverySimulationExecAdapter(t *testing.T) {
t.Skip("broken (times out)")
testDiscoverySimulationExecAdapter(t, *nodeCount, *initCount) testDiscoverySimulationExecAdapter(t, *nodeCount, *initCount)
} }