Azzurite / evolutionchamber

Automatically exported from code.google.com/p/evolutionchamber
0 stars 0 forks source link

EcAutoUpdateTest.testBrokenDownload fails with Assert.assertFalse(auto.isChecksumMatches()); #208

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run EcAutoUpdateTest suite

What is the expected output? What do you see instead?
All test should pass.
Instead Assert.assertFalse(auto.isChecksumMatches()); fails in 
testBrokenDownload.

Original issue reported on code.google.com by netpr...@gmail.com on 13 Jul 2011 at 9:06

GoogleCodeExporter commented 8 years ago
It seems that after() is unable to delete the file hence the correct file from 
the previous test is checksumed which results in a correct checksum test which 
is expected to fail.

Original comment by netpr...@gmail.com on 13 Jul 2011 at 9:46

GoogleCodeExporter commented 8 years ago
EcAutoUpdate.doInBackground didn't close a FileInputStream hence delete 
silently failed.

Original comment by netpr...@gmail.com on 13 Jul 2011 at 9:54

GoogleCodeExporter commented 8 years ago
Fixed in r287

Original comment by netpr...@gmail.com on 13 Jul 2011 at 10:00