[
https://issues.jboss.org/browse/TEIID-3664?page=com.atlassian.jira.plugin...
]
Kylin Soong commented on TEIID-3664:
------------------------------------
{code}
-------------------------------------------------------------------------------
Test set: org.teiid.transport.TestCommSockets
-------------------------------------------------------------------------------
Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.486 sec <<<
FAILURE! - in org.teiid.transport.TestCommSockets
testConnectWithPooling(org.teiid.transport.TestCommSockets) Time elapsed: 0.086 sec
<<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<2>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at
org.teiid.transport.TestCommSockets.testConnectWithPooling(TestCommSockets.java:119)
{code}
It seems the test not related with JDK version, but if use 1.8, above error may cause
build failed.
I have repeat build several times with 1.8, most of time(2/3) above error throw, build
failed
If build with 1.7, always success.
Only JDK 1.7 can build Teiid code base success
----------------------------------------------
Key: TEIID-3664
URL:
https://issues.jboss.org/browse/TEIID-3664
Project: Teiid
Issue Type: Quality Risk
Components: Build/Kits
Affects Versions: 8.12
Reporter: Kylin Soong
Assignee: Steven Hawkins
Fix For: 8.12
The following depiction exist in README.md
{code}
install JDK 1.7 or higher
{code}
But the build commands
{code}
$ mvn clean install -P release -s settings.xml
{code}
will execute failed if use JDK 1.8
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)