Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ikhomyn
Copy link
Contributor

@ikhomyn ikhomyn commented Jul 11, 2024

Closes #30609.

Comment on lines +38 to +51
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<kc.test.browser>${kc.test.browser}</kc.test.browser>
<kc.test.database>${kc.test.database}</kc.test.database>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kinda sucks if we need to enumerate all tests config options like this, but not sure there is any other ways if you want to pass system properties set on the command-line to Surefire.

This would need to be moved to https://github.com/keycloak/keycloak/blob/main/test-poc/base/pom.xml though, as that's the module where tests are executed.

Copy link
Contributor

@stianst stianst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit to hard-coded to the different types; I did an alternative implementation here #31292

@lhanusov
Copy link
Contributor

this PR will be delivered here: #31292 and system prop in here #30608

@lhanusov lhanusov closed this Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Testsuite PoC - Ability to select supplier for a given type

3 participants