Skip to content

Commit

Permalink
fix(test-repository-cloudant): replace couchdb3 docker image with a s…
Browse files Browse the repository at this point in the history
…table tag
  • Loading branch information
Agnes Lin authored and agnes512 committed Jan 22, 2020
1 parent aae1f88 commit 28a4efb
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions acceptance/repository-cloudant/docker.setup.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright IBM Corp. 2017,2019. All Rights Reserved.
// Node module: loopback-connector-cloudant
// This file is licensed under the Artistic License 2.0.
// License text available at https://opensource.org/licenses/Artistic-2.0
// Copyright IBM Corp. 2019. All Rights Reserved.
// Node module: @loopback/test-repository-cloudant
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

Expand Down Expand Up @@ -38,7 +38,10 @@ let containerToDelete = null;

async.waterfall(
[
dockerStart('ibmcom/couchdb3:latest'),
// The tag 'latest' fails on creating the instance because the image got updated.
// Using the stable one here to pass tests.
// Reverse back to latest once it's fixed.
dockerStart('ibmcom/couchdb3:preview-1575988511'),
sleep(ms('2s')),
setCloudantEnv,
waitFor('/_all_dbs'),
Expand Down

0 comments on commit 28a4efb

Please sign in to comment.