Skip to content

Commit

Permalink
CouchDB units tests stall for two minutes
Browse files Browse the repository at this point in the history
TestDBBadConnectionDef test is now skipped since
retry logic stalls the unit tests for two minutes.

Will re-enable once configurable retry logic is introduced.

Change-Id: Ie38b4ff5924a0cf10e5727d6b4d663bf451d9952
Signed-off-by: denyeart <enyeart@us.ibm.com>
  • Loading branch information
denyeart committed Mar 5, 2017
1 parent 59c6772 commit 6d984fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/ledger/util/couchdb/couchdb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ func TestDBBadDatabaseName(t *testing.T) {

func TestDBBadConnection(t *testing.T) {

// TestDBBadConnectionDef skipped since retry logic stalls the unit tests for two minutes.
// TODO Re-enable once configurable retry logic is introduced
t.Skip()

if ledgerconfig.IsCouchDBEnabled() == true {

//create a new instance and database object
Expand Down

0 comments on commit 6d984fd

Please sign in to comment.