Skip to content

Commit

Permalink
fix(plugins-test): try harder for the version of versionNotSupportedP…
Browse files Browse the repository at this point in the history
…lugin to actually not be supported (spinnaker#4236)

Before this, an orca version >= 2.0.0 would cause versionNotSupportedPlugin to get used,
causing tests to fail, and making it impossible to e.g. release orca.
  • Loading branch information
dbyron-sf authored Mar 14, 2022
1 parent 62d7c58 commit 39402cc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ class OrcaPluginsFixture : PluginsTckFixture, OrcaTestService() {
plugins.mkdir()
enabledPlugin = buildPlugin("com.netflix.orca.enabled.plugin", ">=1.0.0")
disabledPlugin = buildPlugin("com.netflix.orca.disabled.plugin", ">=1.0.0")
versionNotSupportedPlugin = buildPlugin("com.netflix.orca.version.not.supported.plugin", ">=2.0.0")
// Make it very unlikely that the version of orca satisfies this requirement
versionNotSupportedPlugin = buildPlugin("com.netflix.orca.version.not.supported.plugin", "=0.0.9")
}
}

Expand Down

0 comments on commit 39402cc

Please sign in to comment.