Remove Clean Start test from testsuite (#14345)

Closes #14305

Co-authored-by: wojnarfilip <fwojnar@redhat.com>
This commit is contained in:
fwojnar 2022-09-13 12:46:55 +02:00 committed by GitHub
parent 9e41053587
commit a58f0593a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 135 deletions

View file

@ -1,86 +0,0 @@
<?xml version="1.0"?>
<!--
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
~ and other contributors as indicated by the @author tags.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.keycloak.testsuite</groupId>
<artifactId>integration-arquillian-tests-other</artifactId>
<version>999-SNAPSHOT</version>
</parent>
<artifactId>integration-arquillian-tests-smoke-clean-start</artifactId>
<name>Clean Start Tests</name>
<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-auth-server</id>
<phase>generate-test-resources</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireProperty>
<property>auth.server</property>
<regex>(wildfly)|(eap)</regex>
<regexMessage>Tests require activation of profile "auth-server-wildfly" or "auth-server-eap".</regexMessage>
</requireProperty>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>standalone</id>
</profile>
<profile>
<id>standalone-ha</id>
<properties>
<auth.server.config.property.value>standalone-ha.xml</auth.server.config.property.value>
</properties>
</profile>
<profile>
<id>domain</id>
<properties>
<auth.server.config.property.name>domainConfig</auth.server.config.property.name>
<auth.server.config.property.value>domain.xml</auth.server.config.property.value>
<auth.server.config.dir>${auth.server.home}/domain/configuration</auth.server.config.dir>
<auth.server.adapter.impl.class>org.jboss.as.arquillian.container.domain.managed.ManagedDomainDeployableContainer</auth.server.adapter.impl.class>
<auth.server.management.port>9990</auth.server.management.port>
<auth.server.jboss.jvm.debug.args></auth.server.jboss.jvm.debug.args> <!-- because of KEYCLOAK-6647 -->
</properties>
<dependencies>
<dependency>
<groupId>org.wildfly.arquillian</groupId>
<artifactId>wildfly-arquillian-container-domain-managed</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>

View file

@ -1,43 +0,0 @@
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.keycloak.testsuite.clean.start;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.assertTrue;
/**
* @author <a href="mailto:vramik@redhat.com">Vlastislav Ramik</a>
*/
@RunWith(Arquillian.class)
@RunAsClient
public class CleanStartTest {
@Test
public void cleanStartTest() {
//empty test - container is started via arquillian and logs are checked
//by org.keycloak.testsuite.arquillian.AuthServerTestEnricher#checkServerLogs
//verify that checkServerLogs is not skipped
assertTrue("checkServerLogs is skipped.", Boolean.parseBoolean(System.getProperty("auth.server.log.check", "true")));
}
}

View file

@ -120,12 +120,6 @@
<module>adapters</module>
</modules>
</profile>
<profile>
<id>clean-start</id>
<modules>
<module>clean-start</module>
</modules>
</profile>
<profile>
<id>old-admin-console</id>
<modules>