Merge pull request #4588 from tkyjovsk/KEYCLOAK-5711
KEYCLOAK-5711 Adapter test module for Wildfly has compilation error
This commit is contained in:
commit
4010e5e247
1 changed files with 2 additions and 10 deletions
|
@ -59,13 +59,9 @@ public class WildflyConsoleProtectionTest extends AbstractAdapterTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void beforeAuthTest() throws IOException, OperationException {
|
public void beforeConsoleProtectionTest() throws IOException, OperationException {
|
||||||
super.beforeAuthTest();
|
|
||||||
|
|
||||||
OnlineManagementClient clientWorkerNodeClient = null;
|
try (OnlineManagementClient clientWorkerNodeClient = AppServerTestEnricher.getManagementClient()) {
|
||||||
|
|
||||||
try {
|
|
||||||
clientWorkerNodeClient = AppServerTestEnricher.getManagementClient();
|
|
||||||
|
|
||||||
Operations operations = new Operations(clientWorkerNodeClient);
|
Operations operations = new Operations(clientWorkerNodeClient);
|
||||||
|
|
||||||
|
@ -94,10 +90,6 @@ public class WildflyConsoleProtectionTest extends AbstractAdapterTest {
|
||||||
clientWorkerNodeClient.execute("reload");
|
clientWorkerNodeClient.execute("reload");
|
||||||
} catch (CliException cause) {
|
} catch (CliException cause) {
|
||||||
throw new RuntimeException("Failed to configure app server", cause);
|
throw new RuntimeException("Failed to configure app server", cause);
|
||||||
} finally {
|
|
||||||
if (clientWorkerNodeClient != null) {
|
|
||||||
clientWorkerNodeClient.close();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue