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

Unified Diff: appengine/chromium_cq_status/handlers/test/resources/patch_no_verifier_start.json

Issue 1877453003: Only try to compute running_all_jobs time if we know when try-job verifier started (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Added tests Created 4 years, 8 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/chromium_cq_status/handlers/test/patch_summary_test.expected/PatchSummaryTest.test_no_verifier_start.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/chromium_cq_status/handlers/test/resources/patch_no_verifier_start.json
diff --git a/appengine/chromium_cq_status/handlers/test/resources/patch_no_verifier_start.json b/appengine/chromium_cq_status/handlers/test/resources/patch_no_verifier_start.json
new file mode 100644
index 0000000000000000000000000000000000000000..051c0ef7af7a005e9cd2e79220a264cc026ab041
--- /dev/null
+++ b/appengine/chromium_cq_status/handlers/test/resources/patch_no_verifier_start.json
@@ -0,0 +1,164 @@
+[
+ {
+ "timestamp": 10503,
+ "key": null,
+ "tags": [
+ "project=chromium",
+ "issue=123456789",
+ "owner=test@chromium.org",
+ "action=patch_stop",
+ "patchset=1"
+ ],
+ "fields": {
+ "project": "chromium",
+ "owner": "test@chromium.org",
+ "action": "patch_stop",
+ "patchset": 1,
+ "issue": 123456789
+ }
+ },
+
+
+
+
+ {
+ "timestamp": 10502,
+ "key": null,
+ "tags": [
+ "project=chromium",
+ "issue=123456789",
+ "owner=test@chromium.org",
+ "action=patch_failed",
+ "patchset=1"
+ ],
+ "fields": {
+ "project": "chromium",
+ "owner": "test@chromium.org",
+ "action": "patch_failed",
+ "reason": {
+ "verifier": "try job",
+ "fail_type": "failed_jobs",
+ "fail_details": [
+ {
+ "url": "http://build.chromium.org/p/tryserver.b/builders/test_suite_b_2/builds/1012",
+ "master": "tryserver.b",
+ "builder": "test_suite_b_2"
+ }
+ ]
+ },
+ "patchset": 1,
+ "issue": 123456789
+ }
+ },
+
+
+
+
+ {
+ "timestamp": 10501,
+ "key": null,
+ "tags": [
+ "project=chromium",
+ "issue=123456789",
+ "owner=test@chromium.org",
+ "action=verifier_pass",
+ "patchset=1",
+ "verifier=try job"
+ ],
+ "fields": {
+ "project": "chromium",
+ "owner": "test@chromium.org",
+ "verifier": "try job",
+ "action": "verifier_fail",
+ "patchset": 1,
+ "issue": 123456789
+ }
+ },
+
+
+
+
+ {
+ "timestamp": 10010,
+ "key": null,
+ "tags": [
+ "project=chromium",
+ "issue=123456789",
+ "owner=test@chromium.org",
+ "action=verifier_jobs_update",
+ "patchset=1",
+ "verifier=try job"
+ ],
+ "fields": {
+ "jobs": {
+ "JOB_RUNNING": [
+ {
+ "tests": [
+ "defaulttests"
+ ],
+ "slave": "slave-a1",
+ "url": "http://build.chromium.org/p/tryserver.a/builders/test_suite_a/builds/1000",
+ "timestamp": "1970-01-01 02:46:50.000000+00:00",
+ "master": "tryserver.a",
+ "builder": "test_suite_a",
+ "result": -1,
+ "buildnumber": 1000
+ },
+ {
+ "tests": [
+ "defaulttests"
+ ],
+ "slave": "slave-b1",
+ "url": "http://build.chromium.org/p/tryserver.b/builders/test_suite_b_1/builds/1001",
+ "timestamp": "1970-01-01 02:46:50.000000+00:00",
+ "master": "tryserver.b",
+ "builder": "test_suite_b_1",
+ "result": -1,
+ "buildnumber": 1001
+ },
+ {
+ "tests": [
+ "defaulttests"
+ ],
+ "slave": "slave-b2",
+ "url": "http://build.chromium.org/p/tryserver.b/builders/test_suite_b_2/builds/1002",
+ "timestamp": "1970-01-01 02:46:50.000000+00:00",
+ "master": "tryserver.b",
+ "builder": "test_suite_b_2",
+ "result": -1,
+ "buildnumber": 1002
+ }
+ ]
+ },
+ "project": "chromium",
+ "owner": "test@chromium.org",
+ "verifier": "try job",
+ "action": "verifier_jobs_update",
+ "patchset": 1,
+ "issue": 123456789
+ }
+ },
+
+
+
+
+ {
+ "timestamp": 10000,
+ "key": null,
+ "tags": [
+ "owner=test@chromium.org",
+ "issue=123456789",
+ "patchset=1",
+ "project=chromium",
+ "action=patch_start"
+ ],
+ "fields": {
+ "project": "chromium",
+ "owner": "test@chromium.org",
+ "reason": null,
+ "action": "patch_start",
+ "patchset": 1,
+ "issue": 123456789
+ }
+ }
+]
« no previous file with comments | « appengine/chromium_cq_status/handlers/test/patch_summary_test.expected/PatchSummaryTest.test_no_verifier_start.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698