spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sro...@apache.org
Subject spark git commit: SPARK-5728 [STREAMING] MQTTStreamSuite leaves behind ActiveMQ database files
Date Wed, 11 Feb 2015 08:14:13 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-1.3 811d1798d -> 476b6d77b


SPARK-5728 [STREAMING] MQTTStreamSuite leaves behind ActiveMQ database files

Use temp dir for ActiveMQ database

Author: Sean Owen <sowen@cloudera.com>

Closes #4517 from srowen/SPARK-5728 and squashes the following commits:

1d3aeb8 [Sean Owen] Use temp dir for ActiveMQ database

(cherry picked from commit da89720bf4023392436e75b6ed5e10ed8588a132)
Signed-off-by: Sean Owen <sowen@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/476b6d77
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/476b6d77
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/476b6d77

Branch: refs/heads/branch-1.3
Commit: 476b6d77b401143bd44441a75131232fdf6efff8
Parents: 811d179
Author: Sean Owen <sowen@cloudera.com>
Authored: Wed Feb 11 08:13:51 2015 +0000
Committer: Sean Owen <sowen@cloudera.com>
Committed: Wed Feb 11 08:14:07 2015 +0000

----------------------------------------------------------------------
 .../scala/org/apache/spark/streaming/mqtt/MQTTStreamSuite.scala     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/476b6d77/external/mqtt/src/test/scala/org/apache/spark/streaming/mqtt/MQTTStreamSuite.scala
----------------------------------------------------------------------
diff --git a/external/mqtt/src/test/scala/org/apache/spark/streaming/mqtt/MQTTStreamSuite.scala
b/external/mqtt/src/test/scala/org/apache/spark/streaming/mqtt/MQTTStreamSuite.scala
index e84adc0..19c9271 100644
--- a/external/mqtt/src/test/scala/org/apache/spark/streaming/mqtt/MQTTStreamSuite.scala
+++ b/external/mqtt/src/test/scala/org/apache/spark/streaming/mqtt/MQTTStreamSuite.scala
@@ -93,6 +93,7 @@ class MQTTStreamSuite extends FunSuite with Eventually with BeforeAndAfter
{
 
   private def setupMQTT() {
     broker = new BrokerService()
+    broker.setDataDirectoryFile(Utils.createTempDir())
     connector = new TransportConnector()
     connector.setName("mqtt")
     connector.setUri(new URI("mqtt:" + brokerUri))


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message