This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Module: core/settings --------------------- Suite: org.netbeans.modules.settings.EnvTest Test Case: testFindEntityRegistration Last failed: 200502061900 Test Case: testFindProvider Last failed: 200502061900 Suite: org.netbeans.modules.settings.convertors.SerialDataConvertorTest Test Case: testCorruptedSettingsFile Last failed: 200502061900 Test Case: testDeleteOfUnrecognizedSettingsFile Last failed: 200502061900 Test Case: testDisabledOrUnknownModule Last failed: 200502061900 Suite: org.netbeans.modules.settings.convertors.SerialDataNodeTest Test Case: testDisplayName Last failed: 200502061900 Suite: org.netbeans.modules.settings.convertors.XMLPropertiesConvertorTest Test Case: testCorruptedSettingsFile Last failed: 200502061900 Test Case: testDeleteSettings Last failed: 200502061900 Test Case: testLookupSetting Last failed: 200502061900 Test Case: testModuleDisabling Last failed: 200502061900 Test Case: testReadWrite Last failed: 200502061900 Test Case: testSame Last failed: 200502061900 Test Case: testSameWithGC Last failed: 200502061900 Test Case: testUpgradeSetting Last failed: 200502061900 Test Case: testUpgradeSetting2 Last failed: 200502061900 Test Case: testUpgradeSettingWithUnknownClass Last failed: 200502061900 Suite: org.netbeans.spi.settings.DOMConvertorTest Test Case: testCreateSetting Last failed: 200502061900
There isn't loaded module "org.netbeans.modules.settings.xtest/1 [1.0]" while running test on Linux but on Windows is. Then no registrations done via mf-layer are reachable which is crucial for test. So, there seems to be a problem in test configuration. There might be expected that testes code isn't the culprit and just tests are wrong. Jarda, do you have any hint ?
The whole problem seems to be that core/settings/test contains "META-INF/manifest.mf" but ModuleSystem in method loadBootModules tries to load "META-INF/MANIFEST.MF" which is OK on Windows but not on Unix.
Checking in unit/src/META-INF/MANIFEST.MF; /cvs/core/settings/test/unit/src/META-INF/MANIFEST.MF,v <-- MANIFEST.MF initial revision: 1.1 done Removing unit/src/META-INF/manifest.mf; /cvs/core/settings/test/unit/src/META-INF/manifest.mf,v <-- manifest.mf new revision: delete; previous revision: 1.4
the tests sometimes fails. Please evaluate .
There is no fail since this issue was first fixed and closed. N/A is what is now going on. Probably some setUp problem. That's difficult for me to evaluate becaue these tests run and pass on my machine now. I tested it on different JDKs but it works for me. Could someone ,responsible for running these tests, let it run with -verbose parametr and provide its output as attachment. I will try to reproduce it everyday but currently I'm clueless.
/cvs/core/settings/test/unit/src/org/netbeans/modules/settings/ScheduledRequestTest.java new revision: 1.3; previous revision: 1.2
I consider this issue as fixed. Failing test depends unluckily on timeout which might not be reliable. I hope thar I made it a little more reliable .
Reopened.
Test removed from release41: /cvs/core/settings/test/cfg-unit.xml,v <-- cfg-unit.xml new revision: 1.6.36.1; previous revision: 1.6
No one fail in two weeks history. Definitely will be reopened after next fail.