Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: appengine/findit/model/test/wf_swarming_task_test.py

Issue 2027333002: [Findit] don't included skipped or unknown tests in swarming tasks into failed tests. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: . Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/findit/handlers/test/handlers_util_test.py ('k') | appengine/findit/model/wf_swarming_task.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/test/wf_swarming_task_test.py
diff --git a/appengine/findit/model/test/wf_swarming_task_test.py b/appengine/findit/model/test/wf_swarming_task_test.py
index b3ca198cf8f42c6d4326f490d1a73825a62a68a9..ff83ee835863bf02cf896d7d5de61c66685f7fa4 100644
--- a/appengine/findit/model/test/wf_swarming_task_test.py
+++ b/appengine/findit/model/test/wf_swarming_task_test.py
@@ -23,12 +23,21 @@ class WfSwarmingTaskTest(unittest.TestCase):
'TestSuite1.test3': {
'total_run': 6,
'FAILURE': 6
+ },
+ 'TestSuite1.test4': {
+ 'total_run': 6,
+ 'SKIPPED': 6
+ },
+ 'TestSuite1.test5': {
+ 'total_run': 6,
+ 'UNKNOWN': 6
}
}
expected_classified_tests = {
'flaky_tests': ['TestSuite1.test2', 'TestSuite1.test1'],
- 'reliable_tests': ['TestSuite1.test3']
+ 'reliable_tests': ['TestSuite1.test3', 'TestSuite1.test4'],
+ 'unknown_tests': ['TestSuite1.test5']
}
self.assertEqual(expected_classified_tests, task.classified_tests)
« no previous file with comments | « appengine/findit/handlers/test/handlers_util_test.py ('k') | appengine/findit/model/wf_swarming_task.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698