Skip to content

Commit

Permalink
[FAB-3405] Improve unit tests for statecouchdb
Browse files Browse the repository at this point in the history
Improve unit tests for
/fabric/core/ledger/kvledger/txmgmt/txmgr/statedb/statecouchdb

Change-Id: Ia5bf9c00edbce1c368df334e5e9753615860fc5e
Signed-off-by: Chris Elder <chris.elder@us.ibm.com>
  • Loading branch information
Chris Elder committed Apr 28, 2017
1 parent 71a8897 commit accd22b
Showing 1 changed file with 9 additions and 0 deletions.
Expand Up @@ -142,3 +142,12 @@ func TestQuery(t *testing.T) {

}
}

func TestGetStateMultipleKeys(t *testing.T) {
if ledgerconfig.IsCouchDBEnabled() == true {
env := NewTestVDBEnv(t)
env.Cleanup("testgetmultiplekeys")
defer env.Cleanup("testgetmultiplekeys")
commontests.TestGetStateMultipleKeys(t, env.DBProvider)
}
}

0 comments on commit accd22b

Please sign in to comment.