Skip to content

Commit

Permalink
Fix DockerTests.test010Install
Browse files Browse the repository at this point in the history
  • Loading branch information
pugnascotia committed Aug 23, 2021
1 parent 9e267c9 commit 40242a8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,9 @@ private static void verifyCloudContainerInstallation(Installation es) {
if (es.distribution.packaging == Packaging.DOCKER_CLOUD_ESS) {
assertThat("ESS image should come with plugins in " + pluginArchive, plugins, not(empty()));

final List<String> repositoryPlugins = plugins.stream().filter(p -> p.startsWith("repository")).collect(Collectors.toList());
final List<String> repositoryPlugins = plugins.stream()
.filter(p -> p.matches("^repository-(?:s3|gcs|azure)$"))
.collect(Collectors.toList());
// Assert on equality to that the error reports the unexpected values.
assertThat(
"ESS image should not have repository plugins in " + pluginArchive,
Expand Down

0 comments on commit 40242a8

Please sign in to comment.