You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by ma...@apache.org on 2015/11/30 20:11:55 UTC

incubator-reef git commit: [REEF-1017] Fix TestDeserializationForServiceAndContext test failures when running all tests together

Repository: incubator-reef
Updated Branches:
  refs/heads/master 758a8cd4e -> 4d8da5294


[REEF-1017] Fix TestDeserializationForServiceAndContext test failures when running all tests together

When running all the tests together in VS Test Explorer, VS doesn't copy data files to test folder
unless DeploymentItem is specified. This change adds DeploymentItem annotations to fix the failures.

JIRA:
  [REEF-1017](https://issues.apache.org/jira/browse/REEF-1017)

Pull request:
  This closes #690


Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/4d8da529
Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/4d8da529
Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/4d8da529

Branch: refs/heads/master
Commit: 4d8da529416869fceeb7c86c3f6d8ff0bd4e1a3d
Parents: 758a8cd
Author: Julia Wang <ju...@microsoft.com>
Authored: Wed Nov 25 10:27:21 2015 -0800
Committer: Mariia Mykhailova <ma...@apache.org>
Committed: Mon Nov 30 11:10:52 2015 -0800

----------------------------------------------------------------------
 .../EvaluatorConfigurationsTests.cs                              | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/4d8da529/lang/cs/Org.Apache.REEF.Evaluator.Tests/EvaluatorConfigurationsTests.cs
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.Evaluator.Tests/EvaluatorConfigurationsTests.cs b/lang/cs/Org.Apache.REEF.Evaluator.Tests/EvaluatorConfigurationsTests.cs
index e3a530f..9ff7bf1 100644
--- a/lang/cs/Org.Apache.REEF.Evaluator.Tests/EvaluatorConfigurationsTests.cs
+++ b/lang/cs/Org.Apache.REEF.Evaluator.Tests/EvaluatorConfigurationsTests.cs
@@ -70,6 +70,7 @@ namespace Org.Apache.REEF.Evaluator.Tests
         }
 
         [TestMethod, Priority(0), TestCategory("Unit")]
+        [DeploymentItem(@".")]
         public void TestEvaluatorConfigurationFile()
         {
             AvroConfigurationSerializer serializer = new AvroConfigurationSerializer();
@@ -85,6 +86,7 @@ namespace Org.Apache.REEF.Evaluator.Tests
         }
 
         [TestMethod, Priority(0), TestCategory("Unit")]
+        [DeploymentItem(@".")]
         public void TestDeserializationWithAlias()
         {
             AvroConfigurationSerializer serializer = new AvroConfigurationSerializer();
@@ -117,6 +119,7 @@ namespace Org.Apache.REEF.Evaluator.Tests
         /// It contains task and context configuration strings.  
         /// </summary>
         [TestMethod, Priority(0), TestCategory("Unit")]
+        [DeploymentItem(@".")]
         public void TestDeserializationForContextAndTask()
         {
             AvroConfigurationSerializer serializer = new AvroConfigurationSerializer();
@@ -161,6 +164,7 @@ namespace Org.Apache.REEF.Evaluator.Tests
         /// It contains service and context configuration strings.  
         /// </summary>
         [TestMethod, Priority(0), TestCategory("Unit")]
+        [DeploymentItem(@".")]
         public void TestDeserializationForServiceAndContext()
         {
             AvroConfigurationSerializer serializer = new AvroConfigurationSerializer();