Commit 6b2dc6a3 authored by Robert Ma's avatar Robert Ma Committed by Commit Bot

Revert "TEST: file a bug to staging right after wpt-import starts"

This reverts commit 83f34380.

Reason for revert: WOOHOO! It worked as intended :)

Original change's description:
> TEST: file a bug to staging right after wpt-import starts
> 
> This is a live end-to-end test to ensure Monorail integration and
> credential deployment work correctly on bots. This CL will be reverted
> once a bug is successfully filed to monorail-staging.appspot.com.
> 
> Bug: 765334, 794715
> Change-Id: I3b9d94116286e8d5c1daf24961af1de5d8b5e63e
> Reviewed-on: https://chromium-review.googlesource.com/830193
> Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
> Commit-Queue: Robert Ma <robertma@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#524470}

TBR=qyearsley@chromium.org,robertma@chromium.org

Change-Id: I19ffc37c8d71f31ec4e8ed56066b0d896b0bb301
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 765334, 794715
Reviewed-on: https://chromium-review.googlesource.com/831006Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524475}
parent 2bede458
......@@ -94,7 +94,7 @@ class MonorailAPI(object):
# TODO(robertma): Mock googleapiclient and oauth2client to test this class.
_DISCOVERY_URL = (
'https://monorail-staging.appspot.com/_ah/api/discovery/v1/apis/'
'https://monorail-prod.appspot.com/_ah/api/discovery/v1/apis/'
'{api}/{apiVersion}/rest')
def __init__(self, service_account_key_json=None):
......
......@@ -28,7 +28,6 @@ from webkitpy.w3c.common import read_credentials, is_testharness_baseline, is_fi
from webkitpy.w3c.directory_owners_extractor import DirectoryOwnersExtractor
from webkitpy.w3c.import_notifier import ImportNotifier
from webkitpy.w3c.local_wpt import LocalWPT
from webkitpy.w3c.monorail import MonorailAPI, MonorailIssue
from webkitpy.w3c.test_copier import TestCopier
from webkitpy.w3c.wpt_expectations_updater import WPTExpectationsUpdater
from webkitpy.w3c.wpt_github import WPTGitHub
......@@ -84,18 +83,6 @@ class TestImporter(object):
# Print out the full output when executive.run_command fails.
self.host.executive.error_output_limit = None
# One-off testing-only code. To be removed (reverted) afterwards.
# ====================
try:
monorail_issue = MonorailIssue.new_chromium_issue(
'Test bug filed by wpt-import automatically', description='This is a test',
cc=['robertma@chromium.org'], components=['Blink>Infra'])
monorail_api = MonorailAPI(options.monorail_auth_json)
monorail_api.insert_issue(monorail_issue)
except Exception as e: # pylint:disable=broad-except
_log.error('Failed to create an issue: %s', str(e))
# ====================
if not self.checkout_is_okay():
return 1
......
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