Merge pull request #285 from ethersphere/enable_discovery_tests

Enable Discovery tests
This commit is contained in:
Anton Evangelatov 2018-03-04 18:51:31 +01:00 committed by GitHub
commit 19f0c2de7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)
} }