Tests almost passing

This commit is contained in:
Zach Ramsay
2017-10-03 19:36:01 -04:00
committed by Ethan Buchman
parent a15c7f221d
commit 7ad8a8ab55
6 changed files with 14 additions and 7 deletions

View File

@ -19,7 +19,10 @@ func TestNodeStartStop(t *testing.T) {
// create & start node
n, err := DefaultNewNode(config, log.TestingLogger())
assert.NoError(t, err, "expected no err on DefaultNewNode")
n.Start()
_, err1 := n.Start()
if err1 != nil {
t.Error(err1)
}
t.Logf("Started node %v", n.sw.NodeInfo())
// wait for the node to produce a block