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.
Please, fix failing org.netbeans.modules.glassfish.common.GlassfishInstanceTest.testCreate_10args. It opens dialog with message <html>Unable to retrieve version of instance installed in .<br/>Please make sure that this server is GlassFish 3.0 or later and that server is registered properly in NetBeans.<html> To reproduce: ant -k -f glassfish.common test test-generate-html -Dtest.includes=**/GlassfishInstanceTest.class
OK. Looks like something is pointing to wrong directory or damaged GlassFish installation. This dialog means that registered instance was not recognized.
This test method is trying to create an empty server instance providing empty string as values. This can't work for 7.4 because GlassfishInstance contains popup window to troll user when such invalid instance is being created. Every instance of GlassfishInstance class should point to valid server installation. Commenting out this test because it can't verify proper functionality of GlassfishInstance.create methods.
Checked into web-main: ---------------------- changeset: 262774:86f41e8c2a7e summary: #235589 - Disabled test that cannot work with 7.4 GlassfishInstance constructor.
Jiri, I need to build some integration tests infrastructure with real GlassFish servers available for Hudson job. 3.1.2.2 and 4.0/4.0.1 would be great. Do you think it's possible to do that?
Integrated into 'main-silver', will be available in build *201309070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/86f41e8c2a7e User: Tomas Kraus <TomasKraus@netbeans.org> Log: #235589 - Disabled test that cannot work with 7.4 GlassfishInstance constructor.
Ok, the test is dependent on environment configuration. I removed this test from stable test distribution. Now you can have your test in repository and run it locally. http://hg.netbeans.org/core-main/rev/e235dc41b6e3 http://hg.netbeans.org/releases/rev/703f655038f9
Integrated into 'main-silver', will be available in build *201309100337* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e235dc41b6e3 User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #235589 - Test excluded from stable test distribution because it is server dependent.