summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Salmon <will.salmon@codethink.co.uk>2020-05-28 13:27:39 +0100
committerWilliam Salmon <will.salmon@codethink.co.uk>2020-05-28 13:27:39 +0100
commit0a2fc1816b51441c86eedd2091a3e6f4d85647fe (patch)
treed6ccc5dc7bb171a01e7ebfd454901888d6737cea
parentf51653d96b08c4a3e0b25c1c51bd2ee45d2bdf01 (diff)
downloadbuildstream-willsalmon/reproduce_grpc.tar.gz
silly way to get grpc errorswillsalmon/reproduce_grpc
-rw-r--r--src/buildstream/_artifactcache.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/buildstream/_artifactcache.py b/src/buildstream/_artifactcache.py
index c1e87b6dc..d75beb056 100644
--- a/src/buildstream/_artifactcache.py
+++ b/src/buildstream/_artifactcache.py
@@ -233,6 +233,11 @@ class ArtifactCache(BaseCache):
remote.init()
element.status("Pushing data from artifact {} -> {}".format(display_key, remote))
+ for II in range(1000):
+ self._push_artifact_blobs(artifact, remote)
+ element.info("{}: Pushed data from artifact {} -> {}".format(II, display_key, remote))
+
+
if self._push_artifact_blobs(artifact, remote):
element.info("Pushed data from artifact {} -> {}".format(display_key, remote))
else: