Bug 857830
Summary: | [XML-RPC] TestCase.calculate_average_estimated_time() doesn't work | ||
---|---|---|---|
Product: | [Other] TCMS | Reporter: | Xin Gao <xgao> |
Component: | XMLRPC | Assignee: | Yang Ren <ryang> |
Status: | VERIFIED --- | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 3.8.0 | CC: | cqi, jihu, ryang |
Target Milestone: | --- | ||
Target Release: | 3.8.10 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Xin Gao
2012-09-17 07:13:49 UTC
i reproduce this issue,it display average time '51:3095:33',only the min part is wrong,got "00:00:00" maybe some time delay. reproduce steps: 1. TestCase.get(93021)['estimated_time'] ------> result is: '100:07:05' 2. TestCase.get(93857)['estimated_time'] ------> result is: '03:04:01' 3. TestCase.calculate_total_estimated_time([93021, 93857]) 4. TestCase.calculate_average_estimated_time([93021, 93857]) Actual results: '51:3095:33' Expected results: (100:07:05 + 03:04:01)/2 Verify this bug on v3.8.10-1 on devel server.-->Fail If the hour is over 60, the result is wrong. verify steps: 1. TestCase.calculate_average_estimated_time([293348])------> result is: '180120' 2. TestCase.calculate_total_estimated_time([293348]) Actual results: '15:03:00' Expected results: '75:03:00' verify this issue on v3.8.10-1 on devel server.--->Pass verify steps are same as description. |