Skip to content

Commit 2c5be0a

Browse files
committed
Do not run Perl test on micro image because
it lacks with perl Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent a9b364b commit 2c5be0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_container_example_app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ def test_run_app_test(self, example_app_test):
9696
class TestNginxExamplePerlAppContainer:
9797

9898
def test_run_app_test(self, example_perl_test):
99+
if VERSION.endswith("-micro"):
100+
pytest.skip("Run the chosen tests (not for micro variant which lacks perl)")
99101
cid_file = example_perl_test.app_name
100-
print(cid_file)
101102
example_perl_test.set_new_image(image_name=f"{IMAGE_NAME}-{cid_file}")
102103
assert example_perl_test.create_container(cid_file=cid_file, container_args="--user 10001")
103104
cid = example_perl_test.get_cid(cid_name=cid_file)

0 commit comments

Comments
 (0)