Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 559504

Summary: AllAllRefactoringTests#test18 fails in build
Product: [Eclipse Project] JDT Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: Lars.Vogel, noopur_gupta
Version: 4.14   
Target Milestone: ---   
Hardware: PC   
OS: Windows All   
Whiteboard:

Description Lars Vogel CLA 2020-01-24 06:18:36 EST
See https://download.eclipse.org/eclipse/downloads/drops4/I20200123-1800/testresults/html/org.eclipse.jdt.ui.tests.refactoring_ep415I-unit-win32-java8_win32.win32.x86_64_8.0.html

Maybe another test hickup?


Running the full suite at the moment, why is the naming of the test so bad? test18 exists multiple times?
Comment 1 Lars Vogel CLA 2020-01-24 06:25:14 EST
All 4075 tests green running the test suite locally.

Noopur, does the test run locally for you on Windows?
Comment 2 Noopur Gupta CLA 2020-01-24 06:33:03 EST
From the stack trace:

at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.TestCase.assertEquals(TestCase.java:261)
at org.eclipse.jdt.ui.tests.refactoring.RefactoringTest.assertEqualLines(RefactoringTest.java:633)
at org.eclipse.jdt.ui.tests.refactoring.RefactoringTest.assertEqualLines(RefactoringTest.java:617)
at org.eclipse.jdt.ui.tests.refactoring.ExtractConstantTests.helper1(ExtractConstantTests.java:147)
at org.eclipse.jdt.ui.tests.refactoring.ExtractConstantTests.test18(ExtractConstantTests.java:249)

So, from the last line, it is the test18 from ExtractConstantTests.java:249.

The test runs fine on Windows locally.
Comment 3 Lars Vogel CLA 2020-01-24 07:07:39 EST
(In reply to Noopur Gupta from comment #2)
> So, from the last line, it is the test18 from ExtractConstantTests.java:249.
> 
> The test runs fine on Windows locally.

Thanks, so lets see if this tests become stable again tomorrow.
Comment 4 Lars Vogel CLA 2020-01-25 05:06:43 EST
Just a temp hickup, runs fine today https://download.eclipse.org/eclipse/downloads/drops4/I20200124-1800/testResults.php