Skip to content

Commit

Permalink
Ryan's PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mukulmurthy committed Jan 10, 2019
1 parent b35eef0 commit 1319ad3
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
package org.apache.spark.sql.streaming.test

import java.io.File
import java.util.ConcurrentModificationException
import java.util.Locale
import java.util.concurrent.TimeUnit

import scala.compat.Platform.ConcurrentModificationException
import scala.concurrent.duration._

import org.apache.hadoop.fs.Path
Expand Down Expand Up @@ -669,7 +669,10 @@ class DataStreamReaderWriterSuite extends StreamTest with BeforeAndAfter {
}
.start()
}
queries.foreach(_.processAllAvailable())
queries.foreach(_.stop())
try {
queries.foreach(_.processAllAvailable())
} finally {
queries.foreach(_.stop())
}
}
}

0 comments on commit 1319ad3

Please sign in to comment.