Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3651#discussion_r21642041
  
    --- Diff: pom.xml ---
    @@ -941,19 +950,38 @@
                 <fork>true</fork>
               </configuration>
             </plugin>
    +        <!-- Surefire runs all Java tests -->
             <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-surefire-plugin</artifactId>
    -          <version>2.17</version>
    +          <version>2.18</version>
    +          <!-- Note config is repeated in scalatest config -->
               <configuration>
    -            <!-- Uses scalatest instead -->
    -            <skipTests>true</skipTests>
    +            <includes>
    +              <include>**/Test*.java</include>
    +              <include>**/*Test.java</include>
    +              <include>**/*TestCase.java</include>
    +              <include>**/*Suite.java</include>
    +            </includes>
    +            
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
    +            <argLine>-Xmx3g -XX:MaxPermSize=${MaxPermGen} 
-XX:ReservedCodeCacheSize=512m</argLine>
    +            <systemProperties>
    +              <java.awt.headless>true</java.awt.headless>
    +              
<spark.test.home>${session.executionRootDirectory}</spark.test.home>
    +              <spark.testing>1</spark.testing>
    +              <spark.ui.enabled>false</spark.ui.enabled>
    +              
<spark.ui.showConsoleProgress>false</spark.ui.showConsoleProgress>
    +              
<spark.executor.extraClassPath>${test_classpath}</spark.executor.extraClassPath>
    +              
<spark.driver.allowMultipleContexts>true</spark.driver.allowMultipleContexts>
    +            </systemProperties>
               </configuration>
             </plugin>
    +        <!-- Scalatest runs all Scala tests -->
             <plugin>
               <groupId>org.scalatest</groupId>
               <artifactId>scalatest-maven-plugin</artifactId>
               <version>1.0</version>
    +          <!-- Note config is repeated in surefire config -->
               <configuration>
                 
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
    --- End diff --
    
    Will this cause the surefire reports to be overwritten? Or are the plugins 
smart enogh to append to the generated XML files instead? (Or maybe there isn't 
any "summary" file, just per-test files, and it's all fine?)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to