spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JoshRosen <...@git.apache.org>
Subject [GitHub] spark pull request: [WIP] Remove many uses of Thread.sleep() from ...
Date Tue, 16 Dec 2014 09:06:13 GMT
Github user JoshRosen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3687#discussion_r21884670
  
    --- Diff: streaming/src/test/scala/org/apache/spark/streaming/CheckpointSuite.scala ---
    @@ -305,7 +305,7 @@ class CheckpointSuite extends TestSuiteBase {
         // var clock = ssc.scheduler.clock.asInstanceOf[ManualClock]
         Thread.sleep(1000)
         for (i <- Seq(1, 2, 3)) {
    -      Files.write(i + "\n", new File(testDir, i.toString), Charset.forName("UTF-8"))
    +      Files.write(i + "\n", new File(testDir, i.toString), Charsets.UTF_8)
    --- End diff --
    
    As long as I was already modifying this file, I figured I could clean this up to match
our convention from #2781.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message