You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by mb...@apache.org on 2021/08/29 21:15:34 UTC

[systemds] branch master updated: [MINOR] Fix threading configuration paramserv tests

This is an automated email from the ASF dual-hosted git repository.

mboehm7 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/master by this push:
     new cece8c7  [MINOR] Fix threading configuration paramserv tests
cece8c7 is described below

commit cece8c784c280fca81d964b3526107b890ddda65
Author: Matthias Boehm <mb...@gmail.com>
AuthorDate: Sun Aug 29 23:15:19 2021 +0200

    [MINOR] Fix threading configuration paramserv tests
---
 .../apache/sysds/test/functions/paramserv/LocalDataPartitionerTest.java  | 1 +
 .../sysds/test/functions/paramserv/ParamservRecompilationTest.java       | 1 +
 .../org/apache/sysds/test/functions/paramserv/ParamservSyntaxTest.java   | 1 +
 .../apache/sysds/test/functions/paramserv/SparkDataPartitionerTest.java  | 1 +
 4 files changed, 4 insertions(+)

diff --git a/src/test/java/org/apache/sysds/test/functions/paramserv/LocalDataPartitionerTest.java b/src/test/java/org/apache/sysds/test/functions/paramserv/LocalDataPartitionerTest.java
index 11a0373..49721b3 100644
--- a/src/test/java/org/apache/sysds/test/functions/paramserv/LocalDataPartitionerTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/paramserv/LocalDataPartitionerTest.java
@@ -32,6 +32,7 @@ import org.apache.sysds.runtime.matrix.data.MatrixBlock;
 
 import scala.Tuple2;
 
+@net.jcip.annotations.NotThreadSafe
 public class LocalDataPartitionerTest extends BaseDataPartitionerTest {
 
 	@Test
diff --git a/src/test/java/org/apache/sysds/test/functions/paramserv/ParamservRecompilationTest.java b/src/test/java/org/apache/sysds/test/functions/paramserv/ParamservRecompilationTest.java
index 9968d4f..3109efa 100644
--- a/src/test/java/org/apache/sysds/test/functions/paramserv/ParamservRecompilationTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/paramserv/ParamservRecompilationTest.java
@@ -23,6 +23,7 @@ import org.junit.Test;
 import org.apache.sysds.test.AutomatedTestBase;
 import org.apache.sysds.test.TestConfiguration;
 
+@net.jcip.annotations.NotThreadSafe
 public class ParamservRecompilationTest extends AutomatedTestBase {
 
 	private static final String TEST_NAME1 = "paramserv-large-parallelism";
diff --git a/src/test/java/org/apache/sysds/test/functions/paramserv/ParamservSyntaxTest.java b/src/test/java/org/apache/sysds/test/functions/paramserv/ParamservSyntaxTest.java
index f5245f2..f380406 100644
--- a/src/test/java/org/apache/sysds/test/functions/paramserv/ParamservSyntaxTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/paramserv/ParamservSyntaxTest.java
@@ -25,6 +25,7 @@ import org.apache.sysds.test.AutomatedTestBase;
 import org.apache.sysds.test.TestConfiguration;
 import org.junit.Test;
 
+@net.jcip.annotations.NotThreadSafe
 public class ParamservSyntaxTest extends AutomatedTestBase {
 
 	private static final String TEST_NAME1 = "paramserv-all-args";
diff --git a/src/test/java/org/apache/sysds/test/functions/paramserv/SparkDataPartitionerTest.java b/src/test/java/org/apache/sysds/test/functions/paramserv/SparkDataPartitionerTest.java
index c5f9387..4b985a3 100644
--- a/src/test/java/org/apache/sysds/test/functions/paramserv/SparkDataPartitionerTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/paramserv/SparkDataPartitionerTest.java
@@ -35,6 +35,7 @@ import org.apache.sysds.runtime.matrix.data.MatrixBlock;
 
 import scala.Tuple2;
 
+@net.jcip.annotations.NotThreadSafe
 public class SparkDataPartitionerTest extends BaseDataPartitionerTest {
 
 	private static SparkExecutionContext _sec;