Skip to content

Commit

Permalink
FAB-579 Start DB when setup env before run test cases.
Browse files Browse the repository at this point in the history
Change-Id: I07e1b2d27a51776db0475cdc51fe3197579bc7d8
Signed-off-by: David Geng <david@esse.io>
  • Loading branch information
David Geng committed Oct 2, 2016
1 parent d0413a6 commit 4d83cdf
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@ import (
"github.com/hyperledger/fabric/core/chaincode/shim/crypto/attr"
"github.com/hyperledger/fabric/core/container"
"github.com/hyperledger/fabric/core/crypto"
"github.com/hyperledger/fabric/core/db"
"github.com/hyperledger/fabric/core/ledger"
"github.com/hyperledger/fabric/core/util"
"github.com/hyperledger/fabric/membersrvc/ca"
@@ -524,6 +525,9 @@ func setup() {
}

removeFolders()

// Start db
db.Start()
}

func initMembershipSrvc() {
Original file line number Diff line number Diff line change
@@ -31,6 +31,7 @@ import (
"github.com/hyperledger/fabric/core/chaincode/shim/crypto/attr"
"github.com/hyperledger/fabric/core/container"
"github.com/hyperledger/fabric/core/crypto"
"github.com/hyperledger/fabric/core/db"
"github.com/hyperledger/fabric/core/ledger"
"github.com/hyperledger/fabric/core/util"
"github.com/hyperledger/fabric/membersrvc/ca"
@@ -361,6 +362,9 @@ func setup() {
}

removeFolders()

// Start db
db.Start()
}

func initMembershipSrvc() {

0 comments on commit 4d83cdf

Please sign in to comment.