Skip to content

Commit

Permalink
[SPARK-20664][SPARK-23103][CORE] Follow-up: remove workaround for .
Browse files Browse the repository at this point in the history
Author: Marcelo Vanzin <vanzin@cloudera.com>

Closes #20353 from vanzin/SPARK-20664.
  • Loading branch information
Marcelo Vanzin committed Jan 23, 2018
1 parent ee572ba commit bdebb8e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -716,9 +716,7 @@ class FsHistoryProviderSuite extends SparkFunSuite with BeforeAndAfter with Matc
}

test("SPARK-21571: clean up removes invalid history files") {
// TODO: "maxTime" becoming negative in cleanLogs() causes this test to fail, so avoid that
// until we figure out what's causing the problem.
val clock = new ManualClock(TimeUnit.DAYS.toMillis(120))
val clock = new ManualClock()
val conf = createTestConf().set(MAX_LOG_AGE_S.key, s"2d")
val provider = new FsHistoryProvider(conf, clock) {
override def getNewLastScanTime(): Long = clock.getTimeMillis()
Expand Down

0 comments on commit bdebb8e

Please sign in to comment.