arquillian testsuite: improve log messages for migration test

This commit is contained in:
vramik 2015-10-29 11:36:29 +01:00
parent e6620ca005
commit 52804da497
2 changed files with 5 additions and 4 deletions

View file

@ -93,7 +93,7 @@ public class ContainersTestEnricher {
public void startSuiteContainers(@Observes(precedence = 1) StartSuiteContainers event) {
init();
if (migrationTests) {
log.info("\n\n### Starting keycloak with previous version ###\n");
log.info("\n\n### Starting keycloak " + System.getProperty("version", "- previous") + " ###\n");
}
}
@ -109,9 +109,9 @@ public class ContainersTestEnricher {
}
if (migrationTests && !alreadyStopped) {
log.info("\n\n### Stopping keycloak with previous version ###\n");
log.info("\n\n### Stopping keycloak " + System.getProperty("version", "- previous") + " ###\n");
stopSuiteContainers.fire(new StopSuiteContainers());
log.info("\n\n### Starting keycloak with current version ###\n");
log.info("\n\n### Starting keycloak current version ###\n");
}
alreadyStopped = true;
}

View file

@ -21,6 +21,7 @@
*/
package org.keycloak.testsuite.migration;
import org.junit.Assert;
import org.junit.Test;
import org.keycloak.representations.idm.RealmRepresentation;
import org.keycloak.testsuite.AbstractAuthTest;
@ -38,7 +39,7 @@ public class MigrationTest extends AbstractAuthTest {
System.out.println(realm.getRealm());
}
throw new RuntimeException("TODO");
Assert.fail("TODO");
}
}