Merge pull request #4376 from pdrozd/KEYCLOAK-5267
KEYCLOAK-5267 Fuse tests - added timeouts for closing ssh channel
This commit is contained in:
commit
9f6d9f7403
2 changed files with 2 additions and 2 deletions
|
@ -4,5 +4,5 @@ config:update
|
|||
system-property -p hawtio.roles admin,user
|
||||
system-property -p hawtio.keycloakEnabled true
|
||||
system-property -p hawtio.realm keycloak
|
||||
system-property -p hawtio.keycloakClientConfig \$\{karaf.base\}/etc/keycloak-hawtio-client.json
|
||||
system-property -p hawtio.keycloakClientConfig file://\$\{karaf.base\}/etc/keycloak-hawtio-client.json
|
||||
system-property -p hawtio.rolePrincipalClasses org.keycloak.adapters.jaas.RolePrincipal,org.apache.karaf.jaas.boot.principal.RolePrincipal
|
||||
|
|
|
@ -205,7 +205,7 @@ public abstract class AbstractFuseAdminAdapterTest extends AbstractExampleAdapte
|
|||
pipe.write("logout\n".getBytes());
|
||||
pipe.flush();
|
||||
|
||||
channel.waitFor(EnumSet.of(ClientChannelEvent.CLOSED), 0);
|
||||
channel.waitFor(EnumSet.of(ClientChannelEvent.CLOSED), TimeUnit.SECONDS.toMillis(15L));
|
||||
session.close(true);
|
||||
client.stop();
|
||||
|
||||
|
|
Loading…
Reference in a new issue