nus-cs2113-AY1920S2 / forum

4 stars 0 forks source link

IO Redirection test passes locally but fails on github #104

Closed SibingWu closed 4 years ago

SibingWu commented 4 years ago

The text-ui-test passes locally on my computer image but it fails when pulling request image Wonder how I can fix it?

MeLoveCarbs commented 4 years ago

Hi, I've encountered this issue too. It could be caused by an old jar file in your local build/lib directory, resulting in a false positive test pass. Try deleting the old jar and making a new jar via gradle shadowJar, after which your local test would be similar to the CI tool and you can fix accordingly.

SibingWu commented 4 years ago

Hi, I've encountered this issue too. It could be caused by an old jar file in your local build/lib directory, resulting in a false positive test pass. Try deleting the old jar and making a new jar via gradle shadowJar, after which your local test would be similar to the CI tool and you can fix accordingly.

thx!