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

    https://github.com/apache/spark/pull/3651#discussion_r21573086
  
    --- 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 -->
    --- End diff --
    
    N00b question: Is it not possible to have Surefire run the Scala tests as 
well? Or are you just saving that change for a future PR?


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to