Skip to content

Commit b40ded5

Browse files
committed
(#77) Check for the environment variable in the run test
1 parent ef9232f commit b40ded5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/run.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ Feature: Run command
5757

5858
Scenario Outline: Run command with memory enabled for all images
5959
Given I run `lpn run <type> -t <tag> -m "-Xms1024m -Xmx1024m"`
60-
When I run `docker exec lpn-<type> ps aux | grep -e tomcat | xargs`
60+
When I run `docker exec lpn-<type> env`
6161
Then the output should contain:
6262
"""
63-
-Xms1024m -Xmx1024m
63+
<variable>=-Xms1024m -Xmx1024m
6464
"""
6565
And I run `lpn rm <type>`
6666

0 commit comments

Comments
 (0)