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

    https://github.com/apache/spark/pull/5236#discussion_r28261462
  
    --- Diff: core/src/test/scala/org/apache/spark/util/UtilsSuite.scala ---
    @@ -35,7 +36,64 @@ import org.apache.hadoop.fs.Path
     import org.apache.spark.SparkConf
     
     class UtilsSuite extends FunSuite with ResetSystemProperties {
    +  
    +  test("timeConversion") {
    +    // Test -1
    +    assert(Utils.timeStringAsSec("-1") === -1)
    --- End diff --
    
    do we actually want this behavior? I would think that if the user tries to 
give a negative value to a time config we should fail loudly.


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