[
https://issues.redhat.com/browse/ISPN-12280?page=com.atlassian.jira.plugi...
]
Dan Berindei commented on ISPN-12280:
-------------------------------------
Note: {{lsof}} was never meant to be required. {{infinispan-server.xml}} has multiple ways
to check if a server is running: {{lsof}}, {{ps}}, and {{jps}}. The problem is that the
{{ps}} and {{jps}} tests are broken since ServerNG landed, and now the tests rely only on
{{lsof}}.
Failfast if lsof is not present in unix
---------------------------------------
Key: ISPN-12280
URL:
https://issues.redhat.com/browse/ISPN-12280
Project: Infinispan
Issue Type: Enhancement
Components: Test Suite
Affects Versions: 12.0.0.Dev02
Reporter: Diego Lovison
Assignee: Diego Lovison
Priority: Major
Fix For: 12.0.0.Dev03
Some tests require lsof be present in order to work properly
Example:
{noformat}
13:24:51.246 [INFO] Infinispan JCACHE (JSR-107) TCK Runner Remote ...... SUCCESS [05:58
min]
13:24:51.246 [INFO] Server Integration ................................. SUCCESS [ 11.991
s]
13:24:51.246 [INFO] Integration tests - WildFly Module Integration Tests SUCCESS [ 58.984
s]
{noformat}
when not present
{noformat}
[ERROR] Errors:
[ERROR] BaseHotRodQueryIT.testRemoteQuery ? HotRodClient
org.infinispan.server.hotrod....
[ERROR] BaseHotRodQueryIT.testUninverting ? HotRodClient
org.infinispan.server.hotrod....
[ERROR] HotRodClientIT.testCacheManager ? HotRodClient
org.infinispan.server.hotrod.Ca...
[ERROR] HotRodQueryIT.testRemoteQuery ? HotRodClient
org.infinispan.server.hotrod.Cach...
[ERROR] HotRodQueryIT.testUninverting ? HotRodClient
org.infinispan.server.hotrod.Cach...
[ERROR] InfinispanRemoteWithQueryIT.testRemoteQuery ? HotRodClient
org.infinispan.serv...
[ERROR] InfinispanRemoteWithQueryIT.testUninverting ? HotRodClient
org.infinispan.serv...
{noformat}
It will take times to find out that the root cause is because lsof is missing
--
This message was sent by Atlassian Jira
(v7.13.8#713008)