Hi,
I looked at it and I don't think using InfinispanServerKillProcessor would be any
better,
since it still just calls 'kill -9'. The only difference is that it doesn't
kill all
java processes starting from jboss-modules.jar, but just the one configured for the test.
Is it maybe possible that the kill happened, but the port was still hanging?
Jakub
----- Original Message -----
From: "Galder Zamarreño" <galder(a)redhat.com>
To: "Jakub Markos" <jmarkos(a)redhat.com>, "Martin Gencur"
<mgencur(a)redhat.com>
Cc: "infinispan -Dev List" <infinispan-dev(a)lists.jboss.org>
Sent: Monday, August 4, 2014 12:35:50 PM
Subject: Ant based kill not fully working? Re: ISPN-4567
Hi,
Dan has reported [1]. It appears as if the last server started in
infinispan-as-module-client-integrationtests did not really get killed. From
what I see, this kill was done via the specific Ant target present in that
Maven module.
I also remembered recently [2] was added. Maybe we need to get
as-modules/client to be configured with it so that it properly kills
servers?
What I’m not sure is where we’d put it so that it can be consumed both by
server/integration/testsuite and as-modules/client? The problem is that the
class, as is, brings in arquillian dependency. If we can separate the
arquillian stuff from the actual code, the class itself could maybe go in
commons test source directory?
@Tristan, thoughts?
@Jakub, can I assign this to you?
[1]
https://issues.jboss.org/browse/ISPN-4567
[2]
https://github.com/infinispan/infinispan/blob/master/server/integration/t...
--
Galder Zamarreño
galder(a)redhat.com
twitter.com/galderz