Run TestLocalExecutionPlanner#testCompilerFailure on CI only
This test creates a huge DFA cache (around 500MB) which is static (SqlBaseParser#_decisionToDFA)
So it highly decreases the amount of memory available for other tests in presto-main module
</ignorePackages>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- these tests take a very long time so only run them in the CI server -->
+ <excludes>
+ <exclude>**/TestLocalExecutionPlanner.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
</build>
</plugins>
</build>
</profile>
+ <profile>
+ <id>ci</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes combine.self="override"/>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
