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.

Bug 256105 - Test org.netbeans.modules.templatesui.CompatibilityKitTest.validateOnNextButton is failing
Summary: Test org.netbeans.modules.templatesui.CompatibilityKitTest.validateOnNextButt...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Templates (show other bugs)
Version: 8.2
Hardware: PC All
: P1 normal (vote)
Assignee: Martin Entlicher
URL: http://deadlock.netbeans.org/job/NB-C...
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2015-10-22 13:34 UTC by Martin Entlicher
Modified: 2015-10-23 01:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2015-10-22 13:34:53 UTC
The CompatibilityKitTest.validateOnNextButton() test depends on threading. Therefore it fails sometimes.

To reproduce the failure, follow these steps:

1) Submit a line breakpoint to RunTCK.java:127
   (the last line in test() method with code: executeScript(sb.toString());)
2) Put a cursor into CompatibilityKitTest.validateOnNextButton() method,
   right-click and select "Debug Focused Test Method".
3) After the breakpoint is hit, submit two additional breakpoints:
   at AbstractWizard.java:425
   and at AbstractWizard.java:429
4) Continue
5) After the breakpoint at AbstractWizard.java:425 do Continue
6) After the breakpoint at AbstractWizard.java:429 do Continue
7) The test finishes with error:
 netscape.javascript.JSException: Moved to 3nd panel expected: summary real: info
Comment 1 Martin Entlicher 2015-10-22 15:10:25 UTC
Fixed by changeset:   293272:e07470e5cb4b
http://hg.netbeans.org/core-main/rev/e07470e5cb4b
Comment 2 Quality Engineering 2015-10-23 01:25:43 UTC
Integrated into 'main-silver', will be available in build *201510230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e07470e5cb4b
User: mentlicher@netbeans.org
Log: #256105: Fixing threading of the test.