From 828d32b47317e9a8d21ce5ffaccf1c6ba2a71ab7 Mon Sep 17 00:00:00 2001 From: Kumar McMillan Date: Fri, 2 Sep 2011 12:44:22 -0500 Subject: [PATCH] Limits perf apps to those currently available on build machine (bug 674350) --- apps/devhub/perf.py | 2 +- apps/devhub/tests/test_views_perf.py | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/apps/devhub/perf.py b/apps/devhub/perf.py index 0d802879cd..759b41930f 100644 --- a/apps/devhub/perf.py +++ b/apps/devhub/perf.py @@ -17,7 +17,7 @@ log = logging.getLogger('z.devhub.task') # These are all the apps available for a file to be tested against: -ALL_APPS = ('firefox3.5', 'firefox3.6', 'firefox4.0') +ALL_APPS = ('firefox3.6', 'firefox6.0') # This translates AMO platforms into performance service platforms: PLATFORM_MAP = {amo.PLATFORM_LINUX.id: ('linux', 'linux64'), diff --git a/apps/devhub/tests/test_views_perf.py b/apps/devhub/tests/test_views_perf.py index 6d71517f3b..f37dd1abe1 100644 --- a/apps/devhub/tests/test_views_perf.py +++ b/apps/devhub/tests/test_views_perf.py @@ -55,16 +55,13 @@ class TestPerfViews(amo.tests.TestCase): re = self.start() eq_(re, {'success': True}) for os in ('linux', 'linux64'): - self.assert_call(((self.file, os, 'firefox3.5'), {})) self.assert_call(((self.file, os, 'firefox3.6'), {})) - self.assert_call(((self.file, os, 'firefox4.0'), {})) + self.assert_call(((self.file, os, 'firefox6.0'), {})) def test_start_all(self): self.set_platform(amo.PLATFORM_ALL) self.start() - self.assert_call(((self.file, 'linux', 'firefox4.0'), {})) - self.assert_call(((self.file, 'win32', 'firefox4.0'), {})) - self.assert_call(((self.file, 'macosx', 'firefox4.0'), {})) + self.assert_call(((self.file, 'linux', 'firefox6.0'), {})) def test_unsupported_plat(self): self.set_platform(amo.PLATFORM_ANDROID)