From beddb7500dabb9050a545303332418d671c9d89f Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Mon, 13 Jan 2020 18:21:49 +0100 Subject: [PATCH] Take into account that Windows switched to opt --- bot/code_coverage_bot/taskcluster.py | 2 +- bot/tests/test_taskcluster.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/code_coverage_bot/taskcluster.py b/bot/code_coverage_bot/taskcluster.py index 443e1767c..49e1ec2f4 100644 --- a/bot/code_coverage_bot/taskcluster.py +++ b/bot/code_coverage_bot/taskcluster.py @@ -22,7 +22,7 @@ def get_task(branch, revision, platform): platform_name = "linux64-ccov-opt" product = "firefox" elif platform == "windows": - platform_name = "win64-ccov-debug" + platform_name = "win64-ccov-opt" product = "firefox" elif platform == "android-test": platform_name = "android-test-ccov" diff --git a/bot/tests/test_taskcluster.py b/bot/tests/test_taskcluster.py index 53b85cab3..d2b229e48 100644 --- a/bot/tests/test_taskcluster.py +++ b/bot/tests/test_taskcluster.py @@ -52,7 +52,7 @@ def test_get_task( responses.add( responses.GET, - "http://taskcluster.test/api/index/v1/task/gecko.v2.mozilla-central.revision.916103b8675d9fdb28b891cac235d74f9f475942.firefox.win64-ccov-debug", + "http://taskcluster.test/api/index/v1/task/gecko.v2.mozilla-central.revision.916103b8675d9fdb28b891cac235d74f9f475942.firefox.win64-ccov-opt", json=LATEST_WIN, status=200, )