Bug 567384

Summary: Racecondition in MoveInnerToTopLevelTests.testFail_nonstatic_2()
Product: [Eclipse Project] JDT Reporter: Carsten Hammer <carsten.hammer>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.18   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/186866
Whiteboard: stalebug

Description Carsten Hammer CLA 2020-09-26 05:57:54 EDT
The code only runs through using a Sleep() in the test

	private void validateFailingTest(String parentClassName, String className, String[] cuNames, String[] packageNames, String enclosingInstanceName, int expectedSeverity) throws Exception {
		IType parentClas= getClassFromTestFile(getPackageP(), parentClassName);
		Thread.sleep(800); // its magic..
		IType clas= parentClas.getType(className);

Maybe something needs time in CompilationUnits (index creation blocking?) 

getAllTypes()
Comment 1 Eclipse Genie CLA 2023-10-16 12:19:22 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.