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

Summary: Test org.netbeans.modules.templatesui.CompatibilityKitTest.validateOnNextButton is failing
Product: platform Reporter: Martin Entlicher <mentlicher>
Component: TemplatesAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal Keywords: TEST
Priority: P1    
Version: 8.2   
Hardware: PC   
OS: All   
URL: http://deadlock.netbeans.org/job/NB-Core-Build/4828/testReport/junit/org.netbeans.modules.templatesui/CompatibilityKitTest/validateOnNextButton/
Issue Type: DEFECT Exception Reporter:

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.