[
https://issues.apache.org/jira/browse/IGNITE-8275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448194#comment-16448194
]
Vyacheslav Daradur edited comment on IGNITE-8275 at 4/23/18 2:34 PM:
---------------------------------------------------------------------
{quote} Yes, it can be an exceptional case test (other 80+ are perfectly fit on
this scheme), but I'd like to have a strong understanding and motivation about
this. Can you describe the classpath problem in more details please?
{quote}
[~vveider], it relates to the engine of Compatibility Framework that expected
predefined format of the classpath. And expected that tests are executed from
IDE or via {{mvn:test}} from sources.
{quote}Yes, we have compiled test classes and jars and everything installed
before running tests.
{quote}
Currently, Compatibility Framework can't work this way.
was (Author: daradurvs):
bq. Yes, it can be an exceptional case test (other 80+ are perfectly fit on
this scheme), but I'd like to have a strong understanding and motivation about
this. Can you describe the classpath problem in more details please?
[~vveider], it relates to the engine of Compatibility Framework that expected
predefined format of the classpath. And except that tests are executed from IDE
or via {{mvn:test}} from sources.
bq. Yes, we have compiled test classes and jars and everything installed before
running tests.
Currently, Compatibility Framework can't work this way.
> PDS (Compatibility): FoldersReuseCompatibilityTest
> --------------------------------------------------
>
> Key: IGNITE-8275
> URL: https://issues.apache.org/jira/browse/IGNITE-8275
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.5
> Reporter: Peter Ivanov
> Assignee: Vyacheslav Daradur
> Priority: Major
> Labels: MakeTeamcityGreenAgain
> Fix For: 2.6
>
>
> Some weird behaviour of *IgniteCompatibilityBasicTestSuite* test suite:
> * {{mvn test}} run reports 8 successful tests (see
> https://ci.ignite.apache.org/viewLog.html?buildId=1211334&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_PdsCompatibility)
> * {{mvn surefire:test}} run reports 2 failures (see
> https://ci.ignite.apache.org/viewLog.html?buildId=1211336&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_PdsCompatibility)
> {code}
> [2018-04-16 09:41:29,823][ERROR][main][root] Test failed.
> junit.framework.AssertionFailedError: Directory [binary_meta,
> d0d49035_c611_4836_8956_8fdf220d7f46] is expected to exist
> [/data/teamcity/work/c182b70f2dfa6507/work/binary_meta/d0d49035_c611_4836_8956_8fdf220d7f46]
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.assertTrue(Assert.java:22)
> at junit.framework.TestCase.assertTrue(TestCase.java:192)
> at
> org.apache.ignite.compatibility.persistence.FoldersReuseCompatibilityTest.assertDirectoryExist(FoldersReuseCompatibilityTest.java:258)
> at
> org.apache.ignite.compatibility.persistence.FoldersReuseCompatibilityTest.assertPdsDirsDefaultExist(FoldersReuseCompatibilityTest.java:231)
> at
> org.apache.ignite.compatibility.persistence.FoldersReuseCompatibilityTest.runFoldersReuse(FoldersReuseCompatibilityTest.java:128)
> at
> org.apache.ignite.compatibility.persistence.FoldersReuseCompatibilityTest.testFoldersReuseCompatibility_2_2(FoldersReuseCompatibilityTest.java:97)
> 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 junit.framework.TestCase.runTest(TestCase.java:176)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2080)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:140)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1995)
> at java.lang.Thread.run(Thread.java:745)
> [org.apache.ignite.compatibility.persistence.FoldersReuseCompatibilityTest.testFoldersReuseCompatibility_2_2]
> junit.framework.AssertionFailedError: Directory [binary_meta,
> d0d49035_c611_4836_8956_8fdf220d7f46] is expected to exist
> [/data/teamcity/work/c182b70f2dfa6507/work/binary_meta/d0d49035_c611_4836_8956_8fdf220d7f46]
> [org.apache.ignite.compatibility.persistence.FoldersReuseCompatibilityTest.testFoldersReuseCompatibility_2_2]
> junit.framework.AssertionFailedError: Directory [binary_meta,
> d0d49035_c611_4836_8956_8fdf220d7f46] is expected to exist
> [/data/teamcity/work/c182b70f2dfa6507/work/binary_meta/d0d49035_c611_4836_8956_8fdf220d7f46]
> at
> org.apache.ignite.compatibility.persistence.FoldersReuseCompatibilityTest.assertDirectoryExist(FoldersReuseCompatibilityTest.java:258)
> at
> org.apache.ignite.compatibility.persistence.FoldersReuseCompatibilityTest.assertPdsDirsDefaultExist(FoldersReuseCompatibilityTest.java:231)
> at
> org.apache.ignite.compatibility.persistence.FoldersReuseCompatibilityTest.runFoldersReuse(FoldersReuseCompatibilityTest.java:128)
> at
> org.apache.ignite.compatibility.persistence.FoldersReuseCompatibilityTest.testFoldersReuseCompatibility_2_2(FoldersReuseCompatibilityTest.java:97)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)