我已经从源代码构建了Apache Ignite,并且当前正在运行测试。测试执行长期停留在ignite-core
模块中。因此,通过对单个模块进行cd'运行并运行mvn test
来运行模块明智的测试。
但是在ignite-ssh
模块中面临如下测试错误:
IgniteProjectionStartStopRestartSelfTest>GridAbstractTest.access$000:140->GridAbstractTest.runTestInternal:2087->testCustomScript:498->startNod?s:1054
[ERROR] testCustomScript(org.apache.ignite.internal.IgniteProjectionStartStopRestartSelfTest) Time elapsed: 0.11 s <<< ERROR!
org.apache.ignite.IgniteException: Password or private key file must be specified.
at org.apache.ignite.internal.IgniteProjectionStartStopRestartSelfTest.startNodes(IgniteProjectionStartStopRestartSelfTest.java:1054)
at org.apache.ignite.internal.IgniteProjectionStartStopRestartSelfTest.testCustomScript(IgniteProjectionStartStopRestartSelfTest.java:498)
**Caused by: org.apache.ignite.IgniteCheckedException: Password or private key file must be specified.**
at org.apache.ignite.internal.IgniteProjectionStartStopRestartSelfTest.startNodes(IgniteProjectionStartStopRestartSelfTest.java:1054)
at org.apache.ignite.internal.IgniteProjectionStartStopRestartSelfTest.testCustomScript(IgniteProjectionStartStopRestartSelfTest.java:498)
我想念什么吗?测试之前需要提供SSH凭据吗?
答案 0 :(得分:0)
您使用哪个版本?
在https://issues.apache.org/jira/browse/IGNITE-9545中完成了对该测试的最新更新。新文档似乎对所需参数有很好的描述。