Skip to content

IFileTest#testIssue2290() fails sporadically in GHA runs #2339

@HeikoKlare

Description

@HeikoKlare

Test was recently introduced by:

And improved in response to recent failures on Windows as reported here:

Now the test sporadically fails in GHA runs on every OS:

Status CANCEL: unknown code=1
java.lang.AssertionError: Status CANCEL: unknown code=1 
	at org.eclipse.core.tests.resources.regression.IFileTest.testIssue2290(IFileTest.java:186)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: org.eclipse.core.runtime.CoreException: 
	... 4 more

It seems to be caused by createDelete.cancel() being called and result.isOK() being expected to yield true afterwards.

@basilevs fyi

Metadata

Metadata

Assignees

No one assigned

    Labels

    testjunit test related things

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions