Commit b2bf181f authored by manish's avatar manish
Browse files

Fix broken build

This CR fixes the compilation error of a test
that got created because of two conflicting CRs
(https://gerrit.hyperledger.org/r/#/c/24385/) and
(https://gerrit.hyperledger.org/r/#/c/21775/

)
getting merged without showing merge conflict

FAB-11718 #done

Change-Id: I2ee4fbd1faf7de2af92deef9d05f3fc9c6443bc1
Signed-off-by: default avatarmanish <manish.sethi@gmail.com>
parent 84629f03
......@@ -123,8 +123,13 @@ func TestApplyWriteSet(t *testing.T) {
expected.HashUpdates.Delete(ns1, coll1, key3, ver1)
expected.HashUpdates.Put(ns1, coll1, key4, value4, ver1)
testdbEnv := &privacyenabledstate.LevelDBCommonStorageTestEnv{}
testdbEnv.Init(t)
defer testdbEnv.Cleanup()
testdb := testdbEnv.GetDBHandle("testdb")
// Call
pahu.ApplyWriteSet(txRWSet1, ver1)
pahu.ApplyWriteSet(txRWSet1, ver1, testdb)
// Check result
assert.Equal(t, expected, pahu)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment