Skip to content

Commit

Permalink
Merge pull request quarkusio#8349 from geoand/quarkusio#8345
Browse files Browse the repository at this point in the history
Remove false warning when quarkus.test.profile is used
  • Loading branch information
geoand authored Apr 2, 2020
2 parents 187627f + 6f3003c commit fd44693
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

/**
* This is used currently only to suppress warnings about unknown properties
* when the user supplies something like: -Dquarkus.test.native-image-profile=someProfile
* when the user supplies something like: -Dquarkus.test.profile=someProfile or -Dquarkus.test.native-image-profile=someProfile
*
* TODO refactor code to actually use these values
*/
Expand All @@ -25,4 +25,10 @@ public class TestConfig {
*/
@ConfigItem(defaultValue = "prod")
String nativeImageProfile;

/**
* The profile to use when testing using @QuarkusTest
*/
@ConfigItem(defaultValue = "test")
String profile;
}

0 comments on commit fd44693

Please sign in to comment.