From ce7fac90c82f4fc568da396f77e509d857b8f8b1 Mon Sep 17 00:00:00 2001 From: Sumedh Wale Date: Sat, 3 Nov 2018 03:11:45 +0530 Subject: [PATCH] minor updates to tests --- .../org/apache/spark/sql/store/ColumnUpdateDeleteTest.scala | 2 +- core/src/test/scala/io/snappydata/ColumnUpdateDeleteTests.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster/src/test/scala/org/apache/spark/sql/store/ColumnUpdateDeleteTest.scala b/cluster/src/test/scala/org/apache/spark/sql/store/ColumnUpdateDeleteTest.scala index a78a3aae17..62757d7db5 100644 --- a/cluster/src/test/scala/org/apache/spark/sql/store/ColumnUpdateDeleteTest.scala +++ b/cluster/src/test/scala/org/apache/spark/sql/store/ColumnUpdateDeleteTest.scala @@ -40,7 +40,7 @@ class ColumnUpdateDeleteTest extends ColumnTablesTestBase { stopAll() } - override protected def newSparkConf(addOn: (SparkConf) => SparkConf): SparkConf = { + override protected def newSparkConf(addOn: SparkConf => SparkConf): SparkConf = { val conf = new SparkConf() conf.setIfMissing("spark.master", "local[*]") .setAppName(getClass.getName) diff --git a/core/src/test/scala/io/snappydata/ColumnUpdateDeleteTests.scala b/core/src/test/scala/io/snappydata/ColumnUpdateDeleteTests.scala index d098c35fd3..7ed0182db8 100644 --- a/core/src/test/scala/io/snappydata/ColumnUpdateDeleteTests.scala +++ b/core/src/test/scala/io/snappydata/ColumnUpdateDeleteTests.scala @@ -483,7 +483,7 @@ object ColumnUpdateDeleteTests extends Assertions with Logging { DistributedTestBase.invokeInEveryVM(avoidRollover) avoidRollover.run() - for (_ <- 1 to 10000) { + for (_ <- 1 to 3) { testConcurrentOpsIter(session) session.sql("truncate table updateTable")