summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-03-13 11:40:41 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-03-27 16:24:32 +0000
commit9494d9ba1a1f93a4d82545a64c2d21f73aa36211 (patch)
treec6eae879abf69519b2c3fd731b8cee307605b2fd
parentbcf02294094d23ebacd97d149d7c5cab5605f8ea (diff)
downloadbuildstream-9494d9ba1a1f93a4d82545a64c2d21f73aa36211.tar.gz
_sandboxremote.py: Remove call to verify_digest_on_remote()
If upload is not successful, there should be an error. Skip the extra round trip verifying the upload of the top-level directory object was successful.
-rw-r--r--buildstream/sandbox/_sandboxremote.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/buildstream/sandbox/_sandboxremote.py b/buildstream/sandbox/_sandboxremote.py
index be3234796..d496a105e 100644
--- a/buildstream/sandbox/_sandboxremote.py
+++ b/buildstream/sandbox/_sandboxremote.py
@@ -338,9 +338,6 @@ class SandboxRemote(Sandbox):
except grpc.RpcError as e:
raise SandboxError("Failed to push source directory to remote: {}".format(e)) from e
- if not casremote.verify_digest_on_remote(upload_vdir._get_digest()):
- raise SandboxError("Failed to verify that source has been pushed to the remote artifact cache.")
-
# Push command and action
try:
casremote.push_message(command_proto)