SeattleTestbed / utf

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

Unit tests fail/take too long #52

Open choksi81 opened 10 years ago

choksi81 commented 10 years ago

These tests don't pass on either version:

choksi81 commented 10 years ago

Monzur: Can you confirm these don't work? (I want a quick check on another setup.) If these can be replicated, we can bump them over to someone else for a fix.

choksi81 commented 10 years ago

I looked into these tests (in particularly ut_repytests_testnetmessdup.py), and the test seems to hang forever. Looking a little deeper into this, I found that commit r5204 for emulcomm.py broke this. The test seems to run properly using emulcomm.py fromm r5164. r5204 made two lines of change in emulcomm.py that affects recvmess and sendmess.

choksi81 commented 10 years ago

Interesting. I guess this is Sebastian's commit from a while back. Sebastian: can you fix this? Just promptly let me know either way.

choksi81 commented 10 years ago

Not certain. I don't remember this change breaking anything when I pushed it, but I'll take a look and see if I can figure out what's going on.

choksi81 commented 10 years ago

I looked into these tests I found out that none of the tests pass successfully with the present version of emulcomm.py. However, most the tests pass successfully with the emulcomm.py r5164. The tests that fail to run are with r5164 are: •ut_seattlelibtests_teststruct.py •ut_seattlelibtests_testgeoip_client.py •ut_seattlelibtests_testopenDHTadvertise.py •ut_repynetworktests_multiple_iface_trybind.py