Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
Fix server update test, correctly remove traefik when it is stopped
Browse files Browse the repository at this point in the history
  • Loading branch information
yamalight committed Dec 29, 2017
1 parent 29e7112 commit c736a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ module.exports = (server, token) =>
t.notEqual(newServer.Id, oldServer.Id, 'Should have updated exoframe/server image');

// cleanup
const allContainers = await docker.listContainers();
const allContainers = await docker.listContainers({all: true});
const containerTraefik = allContainers.find(c => c.Names.find(n => n === '/exoframe-traefik'));
const containerServer = allContainers.find(
c => c.Image === 'exoframe/server:latest' && c.Names.find(n => n.startsWith('/exoframe-server'))
Expand Down

0 comments on commit c736a5f

Please sign in to comment.