[
https://issues.apache.org/jira/browse/FLINK-20800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17255927#comment-17255927
]
Chesnay Schepler commented on FLINK-20800:
------------------------------------------
The linked build is neither valid nor the actual origin of the reported
failure, as the stacktrace clearly shows that IntelliJ was being used.
The check in this test verifies that Hadoop 2.7+ is used, as only these
versions support truncating files.
If a lower Hadoop version is used, then the assumeTrue calls results in the
test being skipped.
> HadoopViewFileSystemTruncateTest failure caused by AssumptionViolatedException
> ------------------------------------------------------------------------------
>
> Key: FLINK-20800
> URL: https://issues.apache.org/jira/browse/FLINK-20800
> Project: Flink
> Issue Type: Bug
> Components: FileSystems
> Affects Versions: 1.12.0
> Reporter: zlzhang0122
> Priority: Major
>
> [Build|https://dev.azure.com/mapohl/flink/_build/results?buildId=118&view=results]
> failed due to HadoopViewFileSystemTruncateTest caused by a
> AssumptionViolatedException:
> {code:java}
> // code placeholder
> org.junit.AssumptionViolatedException: got: <false>, expected: is
> <true>org.junit.AssumptionViolatedException: got: <false>, expected: is
> <true> at org.junit.Assume.assumeThat(Assume.java:95) at
> org.junit.Assume.assumeTrue(Assume.java:41) at
> org.apache.flink.runtime.fs.hdfs.HadoopViewFileSystemTruncateTest.testHadoopVersion(HadoopViewFileSystemTruncateTest.java:71)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498) at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
> at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at
> org.junit.rules.RunRules.evaluate(RunRules.java:20) at
> org.junit.runners.ParentRunner.run(ParentRunner.java:363) at
> org.junit.runner.JUnitCore.run(JUnitCore.java:137) at
> com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
> at
> com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
> at
> com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:230)
> at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:58)Process
> finished with exit code 0
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)