You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by mo...@apache.org on 2017/11/04 01:57:14 UTC
reef git commit: [REEF-1947] xUnit error in TestHelloREEFClient
Repository: reef
Updated Branches:
refs/heads/master 7b81827ff -> e36ee921d
[REEF-1947] xUnit error in TestHelloREEFClient
The test is for yarn and called from a test console. So remove `[Fact]` for now.
JIRA: [REEF-1947](https://issues.apache.org/jira/browse/REEF-1947)
This closes #1410
Project: http://git-wip-us.apache.org/repos/asf/reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/e36ee921
Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/e36ee921
Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/e36ee921
Branch: refs/heads/master
Commit: e36ee921d77ca6b88512ad1b8f3a1ad9752ed939
Parents: 7b81827
Author: jwang98052 <ju...@apache.org>
Authored: Thu Nov 2 20:32:27 2017 -0700
Committer: Sergiy Matusevych <mo...@apache.com>
Committed: Fri Nov 3 18:54:46 2017 -0700
----------------------------------------------------------------------
.../Performance/TestHelloREEF/TestHelloREEFClient.cs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/reef/blob/e36ee921/lang/cs/Org.Apache.REEF.Tests/Performance/TestHelloREEF/TestHelloREEFClient.cs
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.Tests/Performance/TestHelloREEF/TestHelloREEFClient.cs b/lang/cs/Org.Apache.REEF.Tests/Performance/TestHelloREEF/TestHelloREEFClient.cs
index 454cd32..babdb2d 100644
--- a/lang/cs/Org.Apache.REEF.Tests/Performance/TestHelloREEF/TestHelloREEFClient.cs
+++ b/lang/cs/Org.Apache.REEF.Tests/Performance/TestHelloREEF/TestHelloREEFClient.cs
@@ -39,7 +39,7 @@ namespace Org.Apache.REEF.Tests.Performance.TestHelloREEF
/// <summary>
/// Test Hello REEF for scalability
/// </summary>
- [Collection("PerformanceTests")]
+ [Collection("FunctionalTests")]
public class TestHelloREEFClient : ReefFunctionalTest
{
private static readonly Logger Logger = Logger.GetLogger(typeof(TestHelloREEFClient));
@@ -68,16 +68,16 @@ namespace Org.Apache.REEF.Tests.Performance.TestHelloREEF
/// <summary>
/// Test HelloREEF on YARN.
- /// The parameter are provided on command line arguments: token password numberOfContainers
+ /// The test can be modified to pass parameters through command line arguments: token password numberOfContainers
/// e.g. TestDriver.exe TrustedApplication001 none 2000
/// </summary>
- /// <param name="args"></param>
[Fact]
[Trait("Environment", "Yarn")]
[Trait("Priority", "1")]
[Trait("Description", "Run CLR Test on Yarn")]
- public void TestHelloREEFOnYarn(string[] args)
+ public void TestHelloREEFOnYarn()
{
+ string[] args = { "TrustedApplication001", "none", "2000" };
TestRun(GetRuntimeConfigurationForYarn(args), 10240);
}