GTG

FakeTomboy in test_backend_tomboy

Bug #993003 reported by Xuan (Sean) Hu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Medium
Xuan (Sean) Hu

Bug Description

'./run-tests test_backend_tomboy' will return two response about the result of tests, like

"""
.
----------------------------------------------------------------------
Ran 1 test in 0.006s

OK
ALL TESTS ARE SUCCESSFUL
.
----------------------------------------------------------------------
Ran 1 test in 4.065s

OK
ALL TESTS ARE SUCCESSFUL
"""

I think there is some problem about the thread control.
There is a threading.Tread() after os.fork() which will produce two process running the tests.
It's can be seen by 'ps -aux | grep python'

I found an example of unittest with multithread which maybe the right way.
http://mail.python.org/pipermail/python-dev/2002-June/025267.html

Xuan (Sean) Hu (huxuan)
Changed in gtg:
assignee: nobody → Xuan Hu (huxuan)
Revision history for this message
Xuan (Sean) Hu (huxuan) wrote :

This has been fixed by the branch for fix-test-script.

Changed in gtg:
status: New → Fix Committed
Izidor Matušov (izidor)
Changed in gtg:
milestone: none → 0.3
importance: Undecided → Medium
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.