This is an automated email from the ASF dual-hosted git repository.

root pushed a commit to branch willsalmon/reproduce_grpc
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 0a2fc1816b51441c86eedd2091a3e6f4d85647fe
Author: William Salmon <[email protected]>
AuthorDate: Thu May 28 13:27:39 2020 +0100

    silly way to get grpc errors
---
 src/buildstream/_artifactcache.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/buildstream/_artifactcache.py 
b/src/buildstream/_artifactcache.py
index c1e87b6..d75beb0 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:

Reply via email to