|
From: Stefan R. <sro...@ar...> - 2017-04-17 20:41:40
|
Just ignore the test. Assertions are enabled in IntelliJ and Eclipse (this test also fails in Eclipse) but not in the current CI environment. The test is broken (and -ea is no enabled in the CI). On 17.04.2017 22:35, Tobias Bouschen wrote: > Hi all, > > While trying to run the jUnit test suite for the Saros core, I noticed > that UPnpTest#testDispose() consistently fails when run in IntelliJ but > not when run in Eclipse. > > This is due to the standard run configurations being different: IntelliJ > uses the vm option -ea (to enable asserts) by default, Eclipse does not. > If this option is also enabled in Eclipse, the test case fails as well. > > The problem is a violated assertion outside of the test suite (in > UPnPServiceImpl#createPortMapping(), line 168 to be precise) which is > violated the second time #createPortMapping() is called during the test > (UPnPTest#testDispose(), line 163). > > I am not quite sure whether this is a problem with the implementation or > the test and if I should create a bugtracker entry for this. > > Regards, > Tobias > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > DPP-Devel mailing list > DPP...@li... > https://lists.sourceforge.net/lists/listinfo/dpp-devel |