Repository: incubator-systemml Updated Branches: refs/heads/master 7f6b2ed59 -> 93ee7766b
[SYSTEMML-331] Using overloaded reset in unit test-case Cleanup config in GNMFTest to ensure future MLContext testcases have correct 'cp.parallel.matrixmult'. Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/93ee7766 Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/93ee7766 Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/93ee7766 Branch: refs/heads/master Commit: 93ee7766bd2f5887d2c182fd1ff0fd2096f4ccda Parents: 7f6b2ed Author: Niketan Pansare <npan...@us.ibm.com> Authored: Sat Jan 16 09:42:15 2016 -0800 Committer: Niketan Pansare <npan...@us.ibm.com> Committed: Sat Jan 16 09:42:15 2016 -0800 ---------------------------------------------------------------------- .../sysml/test/integration/functions/mlcontext/GNMFTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/93ee7766/src/test/java/org/apache/sysml/test/integration/functions/mlcontext/GNMFTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/sysml/test/integration/functions/mlcontext/GNMFTest.java b/src/test/java/org/apache/sysml/test/integration/functions/mlcontext/GNMFTest.java index ac725a6..110cdf3 100644 --- a/src/test/java/org/apache/sysml/test/integration/functions/mlcontext/GNMFTest.java +++ b/src/test/java/org/apache/sysml/test/integration/functions/mlcontext/GNMFTest.java @@ -147,7 +147,7 @@ public class GNMFTest extends AutomatedTestBase MLContext mlCtx = getMLContextForTesting(); SparkContext sc = mlCtx.getSparkContext(); - mlCtx.reset(); + mlCtx.reset(true); // Cleanup config to ensure future MLContext testcases have correct 'cp.parallel.matrixmult' // Read two matrices through RDD and one through HDFS if(numRegisteredInputs >= 1) {