Skip to content

Commit

Permalink
revert some of the work done in "bug1019528 - use of cachecontrol" si…
Browse files Browse the repository at this point in the history
…nce it breaks inbound hunting
  • Loading branch information
parkouss committed Dec 18, 2014
1 parent 53a6af4 commit 8138b2c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 94 deletions.
14 changes: 4 additions & 10 deletions mozregression/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def print_inbound_regression_progress(self, revisions, revisions_left):
len(revisions_left),
compute_steps_left(len(revisions_left))))

def prepare_bisect(self, inbound_revisions=None):
def bisect_inbound(self, inbound_revisions=None):
self.found_repo = get_repo_url(inbound_branch=self.fetch_config.inbound_branch)

if inbound_revisions is None:
Expand Down Expand Up @@ -168,13 +168,11 @@ def prepare_bisect(self, inbound_revisions=None):
build_url = inbound_revisions[mid]['build_url']
persist_prefix='%s--%s--' % (inbound_revisions[mid]['timestamp'],
self.fetch_config.inbound_branch)
return create_launcher(self.fetch_config.app_name,
launcher = create_launcher(self.fetch_config.app_name,
build_url,
persist=self.options.persist,
persist_prefix=persist_prefix)

def bisect_inbound(self, inbound_revisions=None):
launcher = self.prepare_bisect(inbound_revisions)
launcher.start()

verdict = self._get_verdict('inbound', offer_skip=False)
Expand Down Expand Up @@ -456,13 +454,9 @@ def parse_args():
options.bits = parse_bits(options.bits)
return options


def get_default_dates():
return (str(datetime.date.today()), "2009-01-01")


def get_app():
(default_bad_date, default_good_date) = get_default_dates()
default_bad_date = str(datetime.date.today())
default_good_date = "2009-01-01"
options = parse_args()
logger = commandline.setup_logging("mozregression", options, {"mach": sys.stdout})

Expand Down
51 changes: 0 additions & 51 deletions tests/unit/test_bisector.py

This file was deleted.

33 changes: 0 additions & 33 deletions tests/unit/test_regression.py

This file was deleted.

0 comments on commit 8138b2c

Please sign in to comment.