Skip to content

Commit

Permalink
change checkpointDir to lazy val
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Aug 20, 2014
1 parent 89964ab commit 9797843
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ trait TestSuiteBase extends FunSuite with BeforeAndAfter with Logging {
def batchDuration = Seconds(1)

// Directory where the checkpoint data will be saved
def checkpointDir = {
lazy val checkpointDir = {
val dir = Files.createTempDir()
logDebug(s"checkpointDir: $dir")
dir.deleteOnExit()
Expand Down

0 comments on commit 9797843

Please sign in to comment.