Author: bugman Date: Mon Feb 24 14:16:36 2014 New Revision: 22281 URL: http://svn.gna.org/viewcvs/relax?rev=22281&view=rev Log: Improvement for GUI test base tearDown() clean up method. A wx.Yield() call has been added to allow all GUI operations after a relax reset to complete prior to the next test starting. This should avoid certain racing conditions which can cause a cascade of tests to fail. Modified: trunk/test_suite/gui_tests/base_classes.py Modified: trunk/test_suite/gui_tests/base_classes.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/base_classes.py?rev=22281&r1=22280&r2=22281&view=diff ============================================================================== --- trunk/test_suite/gui_tests/base_classes.py (original) +++ trunk/test_suite/gui_tests/base_classes.py Mon Feb 24 14:16:36 2014 @@ -196,3 +196,6 @@ # Reset relax. reset() + + # Flush all wx events again to allow the reset event to propagate throughout the GUI and the execution lock to be released before the next test starts. + wx.Yield()