Fix automatic tagging.
BUG= TBR=jarin@chromium.org Review URL: https://codereview.chromium.org/417973002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22580 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
3c231fb40c
commit
c218c20e54
@ -117,7 +117,7 @@ class CalculateTagRevision(Step):
|
||||
# LKGRs are reverse sorted.
|
||||
if int(min_rev) <= int(lkgr) and int(lkgr) < int(max_rev):
|
||||
return lkgr
|
||||
return None
|
||||
return None
|
||||
|
||||
def RunStep(self):
|
||||
# Get the lkgr after the tag candidate and before the next tag candidate.
|
||||
|
@ -245,7 +245,7 @@ class SideEffectHandler(object): # pragma: no cover
|
||||
return datetime.date.today().strftime("%Y-%m-%d")
|
||||
|
||||
def GetUTCStamp(self):
|
||||
time.mktime(datetime.datetime.utcnow().timetuple())
|
||||
return time.mktime(datetime.datetime.utcnow().timetuple())
|
||||
|
||||
DEFAULT_SIDE_EFFECT_HANDLER = SideEffectHandler()
|
||||
|
||||
|
@ -1373,7 +1373,8 @@ LOG=N
|
||||
|
||||
self.ExpectReadURL([
|
||||
URL("https://v8-status.appspot.com/revisions?format=json",
|
||||
"[{\"revision\": \"123\", \"status\": true},"
|
||||
"[{\"revision\": \"126\", \"status\": true},"
|
||||
"{\"revision\": \"123\", \"status\": true},"
|
||||
"{\"revision\": \"112\", \"status\": true}]"),
|
||||
])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user