Commit a2a76797 authored by Rakib M. Hasan's avatar Rakib M. Hasan Committed by Commit Bot

[gpu tests] Unpack only first two values returned from GetExpectationsForTest

Changes to typ may cause the number of values returned from GetExpectationsForTest
to change. We only want the first 2 values in gpu test code.

Bug: chromium:986447
Change-Id: Iec3dbf25b14e24af774ad5656bd63d94e5ee8a1d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1915183Reviewed-by: default avatarYuly Novikov <ynovikov@chromium.org>
Commit-Queue: Rakib Hasan <rmhasan@google.com>
Cr-Commit-Position: refs/heads/master@{#715148}
parent 4f98a890
...@@ -164,8 +164,7 @@ class GpuIntegrationTest( ...@@ -164,8 +164,7 @@ class GpuIntegrationTest(
cls.StartBrowser() cls.StartBrowser()
def _RunGpuTest(self, url, test_name, *args): def _RunGpuTest(self, url, test_name, *args):
expected_results, should_retry_on_failure = ( expected_results, should_retry_on_failure = self.GetExpectationsForTest()[:2]
self.GetExpectationsForTest())
try: try:
# TODO(nednguyen): For some reason the arguments are getting wrapped # TODO(nednguyen): For some reason the arguments are getting wrapped
# in another tuple sometimes (like in the WebGL extension tests). # in another tuple sometimes (like in the WebGL extension tests).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment