|
|
|
@ -122,7 +122,7 @@ def _get_resultstore_data(api_key, invocation_id): |
|
|
|
|
while True: |
|
|
|
|
req = urllib2.Request( |
|
|
|
|
url= |
|
|
|
|
'https://resultstore.googleapis.com/v2/invocations/%s/targets/-/configuredTargets/-/actions?key=%s&pageToken=%s&fields=next_page_token,actions.id,actions.status_attributes' |
|
|
|
|
'https://resultstore.googleapis.com/v2/invocations/%s/targets/-/configuredTargets/-/actions?key=%s&pageToken=%s&fields=next_page_token,actions.id,actions.status_attributes,actions.timing,actions.test_action' |
|
|
|
|
% (invocation_id, api_key, page_token), |
|
|
|
|
headers={ |
|
|
|
|
'Content-Type': 'application/json' |
|
|
|
@ -185,6 +185,8 @@ if __name__ == "__main__": |
|
|
|
|
'startTime': |
|
|
|
|
resultstore_actions[index - 1]['timing']['startTime'] |
|
|
|
|
} |
|
|
|
|
elif 'testSuite' not in action['testAction']: |
|
|
|
|
continue |
|
|
|
|
else: |
|
|
|
|
test_cases = action['testAction']['testSuite']['tests'][0][ |
|
|
|
|
'testSuite']['tests'] |
|
|
|
|