Skip to content

Commit

Permalink
Merge branch 'mrrobot47-fix/labels-test' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mbtamuli committed Aug 6, 2018
2 parents f28d1ce + 73c1619 commit 28246ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ public function thereShouldBeContainersWithLabel($expected_running_containers, P
$labels = $pyStringNode->getStrings();
$label_string = implode($labels, ' -f label=');

$result = EE::launch( "docker ps -aqf label=$label_string | wc -l", false, true );
$result = EE::launch( "docker ps -qf label=$label_string | wc -l", false, true );
$running_containers = (int) trim($result->stdout);

if($expected_running_containers === $running_containers) {
Expand Down
2 changes: 1 addition & 1 deletion features/labels.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Container Labels

Scenario: All easyengine containers are tagged
Given I run "bin/ee site create labels.test"
Then There should be 2 containers with labels
Then There should be 1 containers with labels
"""
io.easyengine.site=labels.test
"""

0 comments on commit 28246ac

Please sign in to comment.