Bug 1091914 - [xmlrpc]Use TestRun.filter_count to filter testrun, the satistics result is wrong in the following case.
Summary: [xmlrpc]Use TestRun.filter_count to filter testrun, the satistics result is w...
Keywords:
Status: VERIFIED
Alias: None
Product: TCMS
Classification: Other
Component: XMLRPC
Version: 3.8.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.8.8
Assignee: Yang Ren
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-28 10:14 UTC by yangqiu
Modified: 2023-10-20 16:22 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
[xmlrpc]Use TestRun.filter_count to filter testrun, the satistics result is wrong in the following case. (17.00 KB, image/jpeg)
2014-04-28 10:14 UTC, yangqiu
no flags Details

Description yangqiu 2014-04-28 10:14:07 UTC
Created attachment 890407 [details]
[xmlrpc]Use TestRun.filter_count to filter testrun, the satistics result is wrong in the following case.

Description of problem:
as subject.

Version-Release number of selected component (if applicable):
v3.8.7-4 on devel server

How reproducible:
100%

Steps to Reproduce:
1.There is a run of which has case with Manual type.
2.call TestRun.filter_count({'run_id':72280}).
3.call TestRun.filter_count({'run_id':72280, 'plan__case__is_automated': False}).

Actual results:
For step 2: the result is 1.
For step 3: the result is 7.

Expected results:
For step 2: the result is 1.
For step 3: the result is 1.


Additional info:

Comment 1 yangqiu 2014-04-28 10:17:21 UTC
the above issue also happened to TestRun.filter method.

Comment 2 Xu Lei 2014-04-30 07:52:48 UTC
waiting for deploying

Comment 3 Xu Lei 2014-05-04 02:55:55 UTC
move to 3.8.8

Comment 4 yangqiu 2014-05-06 09:51:39 UTC
the above issue also happened to TestPlan.filter method.

Comment 5 Xu Lei 2014-05-08 03:52:45 UTC
TestPlan.filter
TestPlan.filter_count
TestRun.filter
TestRun.filter_count
TestCase.filter
TestCase.filter_count

Comment 6 yangqiu 2014-05-22 08:18:13 UTC
Verify this bug on v3.8.8-1 on devel server.--->Pass
Verify steps are same as description.


Note You need to log in before you can comment on or make changes to this bug.