You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "hjw (Jira)" <ji...@apache.org> on 2022/08/23 15:51:00 UTC
[jira] [Created] (FLINK-29089) Error when run test case in Windows
hjw created FLINK-29089:
---------------------------
Summary: Error when run test case in Windows
Key: FLINK-29089
URL: https://issues.apache.org/jira/browse/FLINK-29089
Project: Flink
Issue Type: Improvement
Components: Deployment / Kubernetes
Affects Versions: 1.15.1
Environment: deploy env: Windows10
flink version:1.15
Reporter: hjw
When I run mvn clean install ,It will run Flink test case .
However , I get Error:
[ERROR] Failures:
[ERROR] KubernetesClusterDescriptorTest.testDeployApplicationClusterWithNonLocalSchema:155 Previous method call should have failed but it returned: org.apache.flink.kubernetes.KubernetesClusterDescriptor$$Lambda$839/1619964974@70e5737f
[ERROR] AbstractKubernetesParametersTest.testGetLocalHadoopConfigurationDirectoryFromHadoop1HomeEnv:132->runTestWithEmptyEnv:149->lambda$testGetLocalHadoopConfigurationDirectoryFromHadoop1HomeEnv$3:141
Expected: is "C:\Users\10104\AppData\Local\Temp\junit5662202040601670287/conf"
but: was "C:\Users\10104\AppData\Local\Temp\junit5662202040601670287\conf"
[ERROR] AbstractKubernetesParametersTest.testGetLocalHadoopConfigurationDirectoryFromHadoop2HomeEnv:117->runTestWithEmptyEnv:149->lambda$testGetLocalHadoopConfigurationDirectoryFromHadoop2HomeEnv$2:126
Expected: is "C:\Users\10104\AppData\Local\Temp\junit7094401822178578683/etc/hadoop"
but: was "C:\Users\10104\AppData\Local\Temp\junit7094401822178578683\etc\hadoop"
[ERROR] KubernetesUtilsTest.testLoadPodFromTemplateWithNonExistPathShouldFail:110
Expected: Expected error message is "Pod template file /path/of/non-exist.yaml does not exist."
but: The throwable <org.apache.flink.util.FlinkRuntimeException: Pod template file \path\of\non-exist.yaml does not exist.> does not contain the expected error message "Pod template file /path/of/non-exist.yaml does not exist."
I judge the error occurred due to different fileSysyem(unix,Windows..etc) separators.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)