package io.quarkus.deployment;

import java.time.Duration;

import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigRoot;

/**
 * This is used currently only to suppress warnings about unknown properties
 * when the user supplies something like: -Dquarkus.test.native-image-profile=someProfile
 *
 * TODO refactor code to actually use these values
 */
@ConfigRoot
public class TestConfig {

    /**
     * Duration to wait for the native image to built during testing
     */
    @ConfigItem(defaultValue = "PT5M")
    Duration nativeImageWaitTime;

    /**
     * The profile to use when testing the native image
     */
    @ConfigItem(defaultValue = "prod")
    String nativeImageProfile;
}

@@ -276,16 +276,54 @@
 ng like:
+ -Dquarkus.test.profile=someProfile or
  -Dquark
@@ -760,11 +760,145 @@
 Profile;
+%0A%0A    /**%0A     * The profile to use when testing using @QuarkusTest%0A     */%0A    @ConfigItem(defaultValue = %22test%22)%0A    String profile;
 %0A%7D%0A

Remove false warning when quarkus.test.profile is used