Skip to content

Commit

Permalink
chore: Skip use_containerized test temporarily (#151)
Browse files Browse the repository at this point in the history
* chore: Skip use_containerized test temporarily

* chore: only skip x86 tests

* add missing quotation mark
  • Loading branch information
hnnasit authored Nov 22, 2024
1 parent fa29072 commit 7ed5192
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/build_image_base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,11 @@ def test_external_apps(self):
self.assertTrue(out.decode().find("Build Succeeded"))

def test_containerized_build(self):
if self.runtime in SKIP_CONTAINERIZED_BUILD_TESTS:
self.skipTest(f"Skipping for {self.runtime}")
# Skip this test for now as these checks are failing for x86
# TODO: Add the checks back once the below docker issue is fixed
# Error: 500 Server Error for : Internal Server Error ("failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: cannot enter cgroupv2 "/sys/fs/cgroup/docker" with domain controllers -- it is in threaded mode: unknown")
if self.runtime in SKIP_CONTAINERIZED_BUILD_TESTS or self.tag == "x86_64":
self.skipTest(f"Skipping for {self.runtime} and architecture: {self.tag}")
init_args = [
"sam",
"init",
Expand Down

0 comments on commit 7ed5192

Please sign in to comment.