Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase timeout in FatJarExporTests to reduce the chances of tests failing randomly on slow hardware #808

Conversation

fedejeanne
Copy link
Contributor

What it does

Increase timeout to 30s per test instead of 5s. This doesn't slow down the tests execution, it just lets the tests run a bit longer if the hardware is slow.

Fixes #699

How to test

Run the tests in org.eclipse.jdt.ui.tests.jarexport.FatJarExportTests, they should pass.

Author checklist

✔️ I have thoroughly tested my changes
✔️ The change is following the coding conventions
✔️ I have signed the Eclipse Contributor Agreement (ECA)

@fedejeanne
Copy link
Contributor Author

Test failure documented in #811

@fedejeanne fedejeanne force-pushed the bugs/699-Failure_of_test_FatJarExportTests.exportInternalLib branch from d5a48e0 to c991cd9 Compare September 21, 2023 13:28
@fedejeanne
Copy link
Contributor Author

The Build failure seems unrelated:

15:39:38  [ERROR] Cannot resolve dependencies of MavenProject: org.eclipse.ltk:org.eclipse.ltk.core.refactoring:3.14.100-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-github_PR-808/org.eclipse.ltk.core.refactoring/pom.xml: See log for details
15:39:38  org.eclipse.tycho.DependencyResolutionException: Cannot resolve dependencies of MavenProject: org.eclipse.ltk:org.eclipse.ltk.core.refactoring:3.14.100-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-github_PR-808/org.eclipse.ltk.core.refactoring/pom.xml

@jjohnstn
Copy link
Contributor

/rebase

Give it a max of 30s per test instead of 5s. This doesn't slow down the
tests execution, it just lets the tests run a bit longer if the hardware
is slow.

Fixes eclipse-jdt#699
@github-actions github-actions bot force-pushed the bugs/699-Failure_of_test_FatJarExportTests.exportInternalLib branch from c991cd9 to 536311c Compare September 21, 2023 17:14
@jjohnstn jjohnstn merged commit 4eeffdf into eclipse-jdt:master Sep 21, 2023
5 checks passed
@fedejeanne fedejeanne deleted the bugs/699-Failure_of_test_FatJarExportTests.exportInternalLib branch September 22, 2023 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure of test FatJarExportTests.exportInternalLib
2 participants