[teiid-issues] [JBoss JIRA] (TEIID-3664) Timing issue with ping

Kylin Soong (JIRA) issues at jboss.org
Fri Sep 11 05:00:00 EDT 2015


     [ https://issues.jboss.org/browse/TEIID-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kylin Soong updated TEIID-3664:
-------------------------------
    Attachment: reproduce.zip


I extracted the _testConnectWithPooling_, made up a reproduce project, it can reproduce the issue:
{code}
$ unzip reproduce.zip
$ cd reproduce/
$ mvn clean install dependency:copy-dependencies

// use java 8
$ /usr/java/jdk1.8.0_25/bin/java -cp target/dependency/*:target/reproduce.jar Main

// use java 7
$ /usr/java/jdk1.7.0_71/bin/java -cp target/dependency/*:target/reproduce.jar Main
{code}

Note that, the Main method will run _testConnectWithPooling_ 100 times.

h3. My founding
* If use java 8, around 15% run failed
* If use java 7, around 1% run failed

> Timing issue with ping
> ----------------------
>
>                 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
>
>         Attachments: reproduce.zip
>
>
> 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.4.11#64026)


More information about the teiid-issues mailing list