Skip to content

Re-Enable testFormatOnReadOnlyFileAndMakeWritable for Ubuntu-24.04 #1485

@FlorianKroiss

Description

@FlorianKroiss

The test has been failing for a while. We should look into the error and fix it.
The test was disabled in the meantime to make the CI pass again

Error from Test Execution

  org.eclipse.lsp4e.test.format.FormatHandlerReadOnlyTest.testFormatOnReadOnlyFileAndMakeWritable -- Time elapsed: 5.163 s <<< FAILURE!
  org.opentest4j.AssertionFailedError: Condition not met within expected time. ==> expected: <true> but was: <false>
  	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
  	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
  	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
  	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
  	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
  	at org.eclipse.lsp4e.test.utils.TestUtils.waitForAndAssertCondition(TestUtils.java:369)
  	at org.eclipse.lsp4e.test.utils.TestUtils.waitForAndAssertCondition(TestUtils.java:340)
  	at org.eclipse.lsp4e.test.utils.TestUtils.waitForAndAssertCondition(TestUtils.java:332)
  	at org.eclipse.lsp4e.test.format.FormatHandlerReadOnlyTest.testFormatOnReadOnlyFileAndMakeWritable(FormatHandlerReadOnlyTest.java:110)
  	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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions