Skip to content

Commit 28246ac

Browse files
committed
Merge branch 'mrrobot47-fix/labels-test' into develop
2 parents f28d1ce + 73c1619 commit 28246ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

features/bootstrap/FeatureContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ public function thereShouldBeContainersWithLabel($expected_running_containers, P
382382
$labels = $pyStringNode->getStrings();
383383
$label_string = implode($labels, ' -f label=');
384384

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

388388
if($expected_running_containers === $running_containers) {

features/labels.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Feature: Container Labels
33

44
Scenario: All easyengine containers are tagged
55
Given I run "bin/ee site create labels.test"
6-
Then There should be 2 containers with labels
6+
Then There should be 1 containers with labels
77
"""
88
io.easyengine.site=labels.test
99
"""

0 commit comments

Comments
 (0)