Skip to content

Commit

Permalink
Merge pull request #5121 from kenfinnigan/config-fixes
Browse files Browse the repository at this point in the history
Fix MP Config TCKs to only exclude two failing tests
  • Loading branch information
kenfinnigan authored Nov 1, 2019
2 parents 70aca8c + 9b2d71e commit 2425ec2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions tcks/microprofile-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<exclude>org.eclipse.microprofile.config.tck.EmptyValuesTest</exclude>
<!-- "testEnvironmentConfigSource" fails because of the above TCK/spec dispute -->
<!-- "testInjectedConfigSerializable" fails because not all ConfigSource, Converters, etc are serializable -->
<!-- We have a custom version of this TCK class that excludes "testEnvironmentConfigSource" and "testInjectedConfigSerializable", allowing other tests to run -->
<exclude>org.eclipse.microprofile.config.tck.ConfigProviderTest</exclude>
</excludes>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package io.quarkus.tck.config;

import org.eclipse.microprofile.config.tck.ConfigProviderTest;
import org.testng.annotations.Test;

public class CustomConfigProviderTest extends ConfigProviderTest {
@Test(enabled = false)
public void testEnvironmentConfigSource() {
}

@Test(enabled = false)
public void testInjectedConfigSerializable() {
}
}

0 comments on commit 2425ec2

Please sign in to comment.