|
From: Tobias B. <tob...@fu...> - 2017-04-17 20:35:13
|
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 |