Skip to content

Commit

Permalink
change rootDir*.getname to rootDir*.getAbsolutePath so the temporary
Browse files Browse the repository at this point in the history
directories are deleted when the test is finished.
  • Loading branch information
advancedxy committed Apr 17, 2014
1 parent 6904750 commit 4678bab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class DiskBlockManagerSuite extends FunSuite with BeforeAndAfterEach {
rootDir0.deleteOnExit()
val rootDir1 = Files.createTempDir()
rootDir1.deleteOnExit()
val rootDirs = rootDir0.getName + "," + rootDir1.getName
val rootDirs = rootDir0.getAbsolutePath + "," + rootDir1.getAbsolutePath
println("Created root dirs: " + rootDirs)

// This suite focuses primarily on consolidation features,
Expand Down

0 comments on commit 4678bab

Please sign in to comment.