From 63f7243425c114a0f53c9e7aca5ca16ae4077e14 Mon Sep 17 00:00:00 2001 From: Daniel Vallance Date: Sun, 5 Jul 2026 13:04:55 +0100 Subject: [PATCH 1/2] chore: Remove unnecessary sleeps Signed-off-by: Daniel Vallance --- build-environments/test_build-environments.py | 2 -- conftest.py | 4 ---- minecraft/test_minecraft.py | 1 - node-code-execution/test_node-code-execution.py | 2 -- 4 files changed, 9 deletions(-) diff --git a/build-environments/test_build-environments.py b/build-environments/test_build-environments.py index c06f07e9..83856f07 100644 --- a/build-environments/test_build-environments.py +++ b/build-environments/test_build-environments.py @@ -61,7 +61,6 @@ def _cleanup_base(): # 1. Build the base image. unikraft.build(context, base_tag) - time.sleep(3) # 2. Run the base image; it auto-converts into a template. unikraft.run_instance( @@ -85,7 +84,6 @@ def _cleanup_base(): # 4. Build ROM images. unikraft.build(context / "rom1", rom1_tag) unikraft.build(context / "rom2", rom2_tag) - time.sleep(3) return template_name, rom1_tag, rom2_tag diff --git a/conftest.py b/conftest.py index 56e70df6..8c94d1b7 100644 --- a/conftest.py +++ b/conftest.py @@ -138,10 +138,6 @@ def _build(example_dir: str, image_name: str) -> str: unikraft.build(context, tag) - # TODO: drop this once the platform exposes a way to wait until a - # freshly-built image is fully available for `unikraft run`. - time.sleep(3) - return tag return _build diff --git a/minecraft/test_minecraft.py b/minecraft/test_minecraft.py index c69347ce..58fa82c1 100644 --- a/minecraft/test_minecraft.py +++ b/minecraft/test_minecraft.py @@ -136,7 +136,6 @@ def _cleanup_base(): # 1. Build the base image. unikraft.build(context, base_tag) - time.sleep(3) # 2. Run the base image with the base ROM; it auto-converts into a template. unikraft.run_instance( diff --git a/node-code-execution/test_node-code-execution.py b/node-code-execution/test_node-code-execution.py index 53fa80e4..9c02b8fe 100644 --- a/node-code-execution/test_node-code-execution.py +++ b/node-code-execution/test_node-code-execution.py @@ -61,7 +61,6 @@ def _cleanup_base(): # 1. Build the base image. unikraft.build(context, base_tag) - time.sleep(3) # 2. Run the base image; it auto-converts into a template. unikraft.run_instance( @@ -85,7 +84,6 @@ def _cleanup_base(): # 4. Build ROM images. unikraft.build(context / "rom1", rom1_tag) unikraft.build(context / "rom2", rom2_tag) - time.sleep(3) return template_name, rom1_tag, rom2_tag From 5e29e10bf8e6c63d5cfd5e3f9ddb762e8093136b Mon Sep 17 00:00:00 2001 From: Daniel Vallance Date: Mon, 6 Jul 2026 10:52:25 +0100 Subject: [PATCH 2/2] chore: Use runner based in EU --- .github/workflows/test-examples.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-examples.yaml b/.github/workflows/test-examples.yaml index 4769dd35..7c172daf 100644 --- a/.github/workflows/test-examples.yaml +++ b/.github/workflows/test-examples.yaml @@ -49,7 +49,7 @@ env: jobs: detect-changes: - runs-on: ubuntu-latest + runs-on: arc-ubuntu24.04-big outputs: matrix: ${{ steps.changes.outputs.matrix }} steps: @@ -147,7 +147,7 @@ jobs: needs: detect-changes if: needs.detect-changes.outputs.matrix != '' timeout-minutes: 60 - runs-on: ubuntu-latest + runs-on: arc-ubuntu24.04-big strategy: fail-fast: false