Skip to content

Commit

Permalink
tests: disable BootstrapTests in mysql and postgresql profiles
Browse files Browse the repository at this point in the history
- BootstrapTests rely on HSQL as they only use the default profile, therefore
  we do not need to run them in postgres or mysql mode. They would run against
  HSQL even in those cases.
  • Loading branch information
Kehrlann committed Dec 13, 2024
1 parent 4df9ab8 commit 307daa7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import org.cloudfoundry.identity.uaa.extensions.PollutionPreventionExtension;
import org.cloudfoundry.identity.uaa.extensions.SpringProfileCleanupExtension;
import org.cloudfoundry.identity.uaa.extensions.SystemPropertiesCleanupExtension;
import org.cloudfoundry.identity.uaa.extensions.profiles.DisabledIfProfile;
import org.cloudfoundry.identity.uaa.impl.config.IdentityZoneConfigurationBootstrap;
import org.cloudfoundry.identity.uaa.impl.config.YamlServletProfileInitializer;
import org.cloudfoundry.identity.uaa.provider.SamlIdentityProviderDefinition;
Expand Down Expand Up @@ -57,6 +58,7 @@

@ExtendWith(PollutionPreventionExtension.class)
@ExtendWith(SpringProfileCleanupExtension.class)
@DisabledIfProfile({"mysql", "postgresql"})
class BootstrapTests {
private static final String LOGIN_IDP_METADATA = "login.idpMetadata";
private static final String LOGIN_IDP_ENTITY_ALIAS = "login.idpEntityAlias";
Expand Down

0 comments on commit 307daa7

Please sign in to comment.