aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipe_modules/gsutil/examples
diff options
context:
space:
mode:
Diffstat (limited to 'infra/bots/recipe_modules/gsutil/examples')
-rw-r--r--infra/bots/recipe_modules/gsutil/examples/full.expected/failed_all_uploads.json5
-rw-r--r--infra/bots/recipe_modules/gsutil/examples/full.expected/failed_one_upload.json2
-rw-r--r--infra/bots/recipe_modules/gsutil/examples/full.expected/gsutil_tests.json1
-rw-r--r--infra/bots/recipe_modules/gsutil/examples/full.py3
4 files changed, 10 insertions, 1 deletions
diff --git a/infra/bots/recipe_modules/gsutil/examples/full.expected/failed_all_uploads.json b/infra/bots/recipe_modules/gsutil/examples/full.expected/failed_all_uploads.json
index 2307ef7d90..ac1e7e4de7 100644
--- a/infra/bots/recipe_modules/gsutil/examples/full.expected/failed_all_uploads.json
+++ b/infra/bots/recipe_modules/gsutil/examples/full.expected/failed_all_uploads.json
@@ -2,6 +2,7 @@
{
"cmd": [
"gsutil",
+ "-m",
"cp",
"-Z",
"/foo/file",
@@ -16,6 +17,7 @@
{
"cmd": [
"gsutil",
+ "-m",
"cp",
"-Z",
"/foo/file",
@@ -30,6 +32,7 @@
{
"cmd": [
"gsutil",
+ "-m",
"cp",
"-Z",
"/foo/file",
@@ -44,6 +47,7 @@
{
"cmd": [
"gsutil",
+ "-m",
"cp",
"-Z",
"/foo/file",
@@ -58,6 +62,7 @@
{
"cmd": [
"gsutil",
+ "-m",
"cp",
"-Z",
"/foo/file",
diff --git a/infra/bots/recipe_modules/gsutil/examples/full.expected/failed_one_upload.json b/infra/bots/recipe_modules/gsutil/examples/full.expected/failed_one_upload.json
index ab20ee6052..cdc36662b4 100644
--- a/infra/bots/recipe_modules/gsutil/examples/full.expected/failed_one_upload.json
+++ b/infra/bots/recipe_modules/gsutil/examples/full.expected/failed_one_upload.json
@@ -2,6 +2,7 @@
{
"cmd": [
"gsutil",
+ "-m",
"cp",
"-Z",
"/foo/file",
@@ -16,6 +17,7 @@
{
"cmd": [
"gsutil",
+ "-m",
"cp",
"-Z",
"/foo/file",
diff --git a/infra/bots/recipe_modules/gsutil/examples/full.expected/gsutil_tests.json b/infra/bots/recipe_modules/gsutil/examples/full.expected/gsutil_tests.json
index c29e1c4612..2f33635946 100644
--- a/infra/bots/recipe_modules/gsutil/examples/full.expected/gsutil_tests.json
+++ b/infra/bots/recipe_modules/gsutil/examples/full.expected/gsutil_tests.json
@@ -2,6 +2,7 @@
{
"cmd": [
"gsutil",
+ "-m",
"cp",
"-Z",
"/foo/file",
diff --git a/infra/bots/recipe_modules/gsutil/examples/full.py b/infra/bots/recipe_modules/gsutil/examples/full.py
index 8ed9745dcc..1ed09066dd 100644
--- a/infra/bots/recipe_modules/gsutil/examples/full.py
+++ b/infra/bots/recipe_modules/gsutil/examples/full.py
@@ -18,7 +18,8 @@ DEPS = [
def RunSteps(api):
- api.gsutil.cp('test file', '/foo/file', 'gs://bar-bucket/file', ['-Z'])
+ api.gsutil.cp('test file', '/foo/file', 'gs://bar-bucket/file',
+ extra_args=['-Z'], multithread=True)
def GenTests(api):
yield (