Skip to content

Commit

Permalink
remove unneeded temp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
tgravescs committed Jun 6, 2021
1 parent ba2098a commit 828b302
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,10 @@ class ApplicationInfoSuite extends FunSuite with Logging {

test("malformed json eventlog") {
val eventLog = s"$logDir/malformed_json_eventlog"
TrampolineUtil.withTempDir { tempDir =>
val appArgs = new ProfileArgs(Array(
"--output-directory",
tempDir.getAbsolutePath,
eventLog))
val exit = ProfileMain.mainInternal(sparkSession, appArgs)
assert(exit == 1)
}
val appArgs = new ProfileArgs(Array(
eventLog))
val exit = ProfileMain.mainInternal(sparkSession, appArgs)
assert(exit == 1)
}

test("test no sql eventlog") {
Expand Down

0 comments on commit 828b302

Please sign in to comment.