aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2018-09-14 12:12:32 -0700
committerGravatar GitHub <noreply@github.com>2018-09-14 12:12:32 -0700
commit3f0df1c761ea345a06dbc8e979e61a65c8b3d91f (patch)
tree3e5046e55229780a06ececde8a9ab3e86b32df57
parent1b6c3a01cf292159cd4208e8fbe64f84c8b90a8b (diff)
parent709e1aa111de0016a0e760ee881a8d06c8924cbe (diff)
Merge pull request #16633 from jtattermusch/csharp_distribtest_restore_flake
Work around nuget restore flake in C# distrib tests
-rwxr-xr-xtest/distrib/csharp/run_distrib_test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/distrib/csharp/run_distrib_test.sh b/test/distrib/csharp/run_distrib_test.sh
index f9371410e7..61924b91df 100755
--- a/test/distrib/csharp/run_distrib_test.sh
+++ b/test/distrib/csharp/run_distrib_test.sh
@@ -21,7 +21,8 @@ unzip -o "$EXTERNAL_GIT_ROOT/input_artifacts/csharp_nugets_windows_dotnetcli.zip
./update_version.sh auto
-nuget restore
+# Retry "nuget restore" to work around https://github.com/grpc/grpc/issues/16312
+nuget restore || nuget restore || nuget restore
xbuild DistribTest.sln