Allow main waddrmgr test to run in parallel.

This commit is contained in:
Dave Collins 2014-11-11 00:14:31 -06:00
parent 174005d586
commit f37b4e84eb

View file

@ -1453,6 +1453,8 @@ func testSync(tc *testContext) bool {
// It makes use of a test context because the address manager is persistent and
// much of the testing involves having specific state.
func TestManager(t *testing.T) {
t.Parallel()
dbName := "mgrtest.bin"
_ = os.Remove(dbName)
db, mgrNamespace, err := createDbNamespace(dbName)