Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion bci_tester/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,6 @@ def create_BCI(
)
MICRO_CONTAINER = create_BCI(
build_tag=f"{BCI_CONTAINER_PREFIX}/bci-micro:{OS_CONTAINER_TAG}",
image_type="kiwi",
bci_type=ImageType.OS,
)
BUSYBOX_CONTAINER = create_BCI(
Expand Down
19 changes: 13 additions & 6 deletions tests/test_minimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,23 @@ def test_micro_image_size(container, container_runtime):

if OS_VERSION in ("tumbleweed",):
size: Dict[str, int] = {
"x86_64": 34,
"aarch64": 42,
"x86_64": 30,
"aarch64": 38,
"s390x": 28,
"ppc64le": 41,
"ppc64le": 42,
}
elif OS_VERSION in ("16.0",):
size: Dict[str, int] = {
"x86_64": 30,
"aarch64": 38,
"s390x": 28,
"ppc64le": 42,
}
else:
size = {
"x86_64": 26,
size: Dict[str, int] = {
"x86_64": 25,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was too optimistic:

FAILED tests/test_minimal.py::test_micro_image_size[bci/bci-micro:15.7 from registry.opensuse.org/devel/bci/sle-15-sp7/containerfile/bci/bci-micro:15.7] - assert 26.0 <= 25

"aarch64": 28,
"s390x": 26,
"s390x": 25,
"ppc64le": 33,
}

Expand Down
Loading