Skip to content

Commit

Permalink
node-SDK FAB-2184 Fix coucbdb-fabricca-tests.js
Browse files Browse the repository at this point in the history
The test coucbdb-fabricca-tests.js exits when it cannot set the
keyValStore, yet it passes the test.  The test should fail when this
happens.  See FAB-2184 for a discussion of the error.

Change-Id: Iba80bcf8e40ecd30bb5280fe7ee714e8730d8368
Signed-off-by: jjjjibm <[email protected]>
  • Loading branch information
jjjjibm committed Feb 13, 2017
1 parent e10d4ec commit bdcd351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/couchdb-fabricca-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test('Use FabricCAServices with a CouchDB KeyValueStore', function(t) {
if (client.getStateStore() === kvs) {
t.pass('Successfully set CouchDB KeyValueStore for client');
} else {
t.pass('CouchDB KeyValStore is not set successfully on this client!');
t.fail('CouchDB KeyValStore is not set successfully on this client!');
t.end();
process.exit(1);
}
Expand Down

0 comments on commit bdcd351

Please sign in to comment.