Skip to content

Commit 10918df

Browse files
authored
test(config): skip test if default configuration overrides are present (containers#517)
Signed-off-by: Marc Nuri <[email protected]>
1 parent 4c3a77d commit 10918df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/config/config_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ func (s *ConfigSuite) TestReadConfigValid() {
147147
}
148148

149149
func (s *ConfigSuite) TestReadConfigValidPreservesDefaultsForMissingFields() {
150+
if HasDefaultOverrides() {
151+
s.T().Skip("Skipping test because default configuration overrides are present (this is a downstream fork)")
152+
}
150153
validConfigPath := s.writeConfig(`
151154
port = "1337"
152155
`)

0 commit comments

Comments
 (0)