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

    https://github.com/apache/spark/pull/7093#discussion_r33794557
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/mllib/tree/GradientBoostedTreesSuite.scala
 ---
    @@ -111,8 +115,10 @@ class GradientBoostedTreesSuite extends SparkFunSuite 
with MLlibTestSparkContext
               EnsembleTestHelper.validateClassifier(gbt, 
GradientBoostedTreesSuite.data, 0.9)
             } catch {
               case e: java.lang.AssertionError =>
    +            // scalastyle:off println
                 println(s"FAILED for numIterations=$numIterations, 
learningRate=$learningRate," +
    --- End diff --
    
    It looks like logs don't show at all for tests. If you want to print 
something from inside a test `println` and `throw exception` seem to be the way 
to go.


---
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