diff options
author | apolcyn <apolcyn@google.com> | 2017-12-15 16:45:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-15 16:45:01 -0800 |
commit | 7f16daf99346c6d66056fe19f3d14c330491a360 (patch) | |
tree | 6bd1c6d5f1644597b9f7cfef1ca342ce740d7532 /tools | |
parent | 336bce09d4e902ec47a46ecc9d333f954825dc8b (diff) | |
parent | acd56b736102c0ba40a9b782f8252d750205f88e (diff) |
Merge pull request #13793 from apolcyn/fix_ruby_distrib_retry
Fix failing ruby distrib tests
Diffstat (limited to 'tools')
-rw-r--r-- | tools/run_tests/artifacts/distribtest_targets.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/run_tests/artifacts/distribtest_targets.py b/tools/run_tests/artifacts/distribtest_targets.py index 83f656b433..94a2d53770 100644 --- a/tools/run_tests/artifacts/distribtest_targets.py +++ b/tools/run_tests/artifacts/distribtest_targets.py @@ -185,6 +185,10 @@ class RubyDistribTest(object): return [] def build_jobspec(self): + arch_to_gem_arch = { + 'x64': 'x86_64', + 'x86': 'x86', + } if not self.platform == 'linux': raise Exception("Not supported yet.") @@ -192,7 +196,8 @@ class RubyDistribTest(object): self.name, 'tools/dockerfile/distribtest/ruby_%s_%s' % (self.docker_suffix, self.arch), - 'test/distrib/ruby/run_distrib_test.sh', + 'test/distrib/ruby/run_distrib_test.sh %s %s' % + (arch_to_gem_arch[self.arch], self.platform), copy_rel_path='test/distrib') def __str__(self): |