Skip to content

Commit

Permalink
Add issue ID to bisection task request. (#1791)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverchang authored May 20, 2020
1 parent 3115846 commit b0f29a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/python/bot/tasks/task_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,4 +290,6 @@ def request_bisection(testcase, bisect_type):
new_commit,
'testcase_id':
testcase.key.id(),
'issue_id':
testcase.bug_information,
}))
2 changes: 2 additions & 0 deletions src/python/tests/core/bot/tasks/task_creation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def setUp(self):
binary='target').put()

self.testcase = data_types.Testcase(
bug_information='1337',
job_type='libfuzzer_asan_proj',
fuzzer_name='libFuzzer',
overridden_fuzzer_name='libFuzzer_proj_target',
Expand Down Expand Up @@ -74,6 +75,7 @@ def _test(self, sanitizer, bisect_type):
'project_name': 'proj',
'sanitizer': sanitizer,
'testcase_id': 1,
'issue_id': '1337',
'type': bisect_type,
}, message.attributes)

Expand Down

0 comments on commit b0f29a8

Please sign in to comment.