Skip to content

Commit

Permalink
fix: ignore a test for memory issues on the CI
Browse files Browse the repository at this point in the history
One test has been added by @nharrand in #2112 to show the usage of the new dependency resolver. However this test consumes too much memory on our CI, on the job used to deploy maven artefacts: 
> [ERROR] Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 68.03 s <<< FAILURE! - in spoon.MavenLauncherTest
[ERROR] testTypeResolution(spoon.MavenLauncherTest)  Time elapsed: 38.801 s  <<< ERROR!
java.lang.OutOfMemoryError: GC overhead limit exceeded
	at spoon.MavenLauncherTest.testTypeResolution(MavenLauncherTest.java:25)

https://ci.inria.fr/sos/job/Spoon-Snapshot-Deployer/1689/console

I propose to ignore the test for now.
  • Loading branch information
surli authored Aug 10, 2018
1 parent 6ff8661 commit f792f6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/spoon/MavenLauncherTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

public class MavenLauncherTest {

// fixme: the test consumes too much memory for now
// we should reduce its footprint
@Ignore
@Test
public void testTypeResolution() {
MavenLauncher launcher = new MavenLauncher("./pom.xml", MavenLauncher.SOURCE_TYPE.ALL_SOURCE);
Expand Down

0 comments on commit f792f6d

Please sign in to comment.