You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ju...@apache.org on 2025/08/30 07:40:51 UTC
(buildstream) 02/02: tests/integration/sandbox.py: Extend tests to check artifact loading
This is an automated email from the ASF dual-hosted git repository.
juergbi pushed a commit to branch jbilleter/sandbox-config
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 454cec8b1efce0d53fe5a20088965d104e63a3df
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Sat Aug 30 09:35:49 2025 +0200
tests/integration/sandbox.py: Extend tests to check artifact loading
---
tests/integration/sandbox.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/tests/integration/sandbox.py b/tests/integration/sandbox.py
index 9ebc75c7b..5e3898b9d 100644
--- a/tests/integration/sandbox.py
+++ b/tests/integration/sandbox.py
@@ -61,6 +61,11 @@ def test_remote_apis_socket(cli, datafiles):
result = cli.run(project=project, args=["build", element_name])
assert result.exit_code == 0
+ # Verify that loading the artifact succeeds
+ artifact_name = cli.get_artifact_name(project, "test", element_name)
+ result = cli.run(project=project, args=["artifact", "show", artifact_name])
+ assert result.exit_code == 0
+
# Test configuration with remote action cache for nested REAPI.
@pytest.mark.skipif(not HAVE_SANDBOX, reason="Only available with a functioning sandbox")
@@ -103,6 +108,11 @@ def test_remote_apis_socket_with_action_cache_update(cli, tmpdir, datafiles):
result = cli.run(project=project, args=["build", element_name])
assert result.exit_code == 0
+ # Verify that loading the artifact succeeds
+ artifact_name = cli.get_artifact_name(project, "test", element_name)
+ result = cli.run(project=project, args=["artifact", "show", artifact_name])
+ assert result.exit_code == 0
+
# Test configuration with cache storage-service and remote action cache for nested REAPI.
@pytest.mark.skipif(not HAVE_SANDBOX, reason="Only available with a functioning sandbox")