Christian Schneider created KARAF-2532:
------------------------------------------

             Summary: itests are very slow because of timeouts when waiting for 
commands
                 Key: KARAF-2532
                 URL: https://issues.apache.org/jira/browse/KARAF-2532
             Project: Karaf
          Issue Type: Bug
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: 3.0.0


Currently the itests seem to timeout waiting for commands whenever they try to 
execute any command. 

These lines in KarafTestSupport seem to be the problem.
            if (colonIndx > 0) {
                String scope = command.substring(0, colonIndx);
                String function = command.substring(colonIndx + 1);
                waitForService("(&(osgi.command.scope=" + scope + 
")(osgi.command.function=" + function + 
")(org.apache.karaf.service.guard.roles=*))", SERVICE_TIMEOUT);
            } else {
                waitForService("(&(osgi.command.function=" + command + 
")(org.apache.karaf.service.guard.roles=*))", SERVICE_TIMEOUT);
            }

They seem to be related to the new role based security. The problem is that it 
does not find any services with this filter. 

When I remove the last part it works. [~bosschaert] Can you review if it is 
safe to remove this?




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to