[jbossts-issues] [JBoss JIRA] (JBTM-2101) Blacktie integration CSTest hang

Amos Feng (JIRA) issues at jboss.org
Thu Apr 9 02:58:18 EDT 2015


    [ https://issues.jboss.org/browse/JBTM-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057204#comment-13057204 ] 

Amos Feng commented on JBTM-2101:
---------------------------------

The test setup is failed with starting the server with error "cannot start the same id server". It's caused by the .testsui queue not being deployed on the server. So it looks like the prev test tearDown does not wait for the server shutdow finishing.
from the integration tests codes blacktie/integration-tests/src/test/java/org/jboss/narayana/blacktie/jatmibroker/xatmi/CSControl.java
{code}
public void tearDown() {
        log.info("tearDown");
        try {
            if (server != null) {
                log.debug("destroying server process");
                server.interrupt();
                server.getProcess().destroy();
                log.debug("destroyed server process");
                server.getProcess().waitFor();
            }
            log.debug("waited for server process");
        } catch (Throwable e) {
            throw new RuntimeException("Server shutdown error: ", e);
        }
    }
{code}

It looks like it does not need to destroy the process and just wait for it exits.

> Blacktie integration CSTest hang
> --------------------------------
>
>                 Key: JBTM-2101
>                 URL: https://issues.jboss.org/browse/JBTM-2101
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: BlackTie
>            Reporter: Gytis Trikleris
>            Assignee: Amos Feng
>            Priority: Minor
>             Fix For: 5.0.5
>
>
> http://172.17.131.2/view/Narayana+BlackTie/job/narayana/427/PROFILE=BLACKTIE,jdk=jdk7.latest,label=linux32el5



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbossts-issues mailing list