SeattleTestbed / utf

Unit Test Framework for SeattleTestbed
MIT License
1 stars 9 forks source link

Some repy tests seems to fail on windows xp. #30

Closed choksi81 closed 10 years ago

choksi81 commented 10 years ago

Some repy tests produce a 'fail' notification on windows machine because the test result expects a return value of '' when None is produced instead. The noted tests are:

ut_repytests_randomratetest.py ut_repytests_testmemoryallocwithexceptions2.py ut_repytests_testmemoryquota.py

choksi81 commented 10 years ago

Author: monzum I tried to run the two tests ut_repytests_testmemoryallocwithexceptions2.py and ut_repytests_testmemoryquota.py manually by hand by using command

python repy.py restrictions.test <test_name>

and these are the results I got for each one.

ut_repytests_testmemoryquota.py:

blackbox.cs:

monzum@blackbox:~/testtest$ python repy.py restrictions.test ut_repytests_testmemoryquota.py
Memory use '21676032' over limit '20000000.0'. Impolitely killing child!
Terminated

testbed-xp2.cs

c:\Documents and Settings\monzum\test_folder>python repy.py restrictions.test ut_repytests_testmemoryquota.py
python repy.py restrictions.test ut_repytests_testmemoryquota.py
Failed, exitingFailed, exitingFailed, exitingFailed, exitingFailed, exiting

ut_repytests_testmemoryallocwithexceptions2.py

blackbox.cs:

monzum@blackbox:~/testtest$ python repy.py restrictions.test ut_repytests_testmemoryallocwithexceptions2.py
Memory use '32022528' over limit '20000000.0'. Impolitely killing child!
Terminated

testbed-xp2.cs:

c:\Documents and Settings\monzum\test_folder>python repy.py restrictions.test ut_repytests_testmemoryallocwithexceptions2.py
python repy.py restrictions.test ut_repytests_testmemoryallocwithexceptions2.py
Should not get here!
Should not get here!

This makes me believe that there might be something wrong with the tests on the testbed-xp machines.

choksi81 commented 10 years ago

Author: monzum This ticket seems to be invalid now as the tests mentioned all pass on the windows machine.