Created
November 28, 2022 06:11
-
-
Save gaol/0776932ca32e6b27b3caf6a789d6d502 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
but some elements were not expected: | |
[Stream{groupId='org.codehaus.woodstox', artifactId='stax2-api', version='4.2.1', versionPattern=null, versionComparator=org.wildfly.channel.version.FixedVersionMatcher@6e4566f1}, | |
Stream{groupId='org.wildfly.core', artifactId='wildfly-core-model-test-framework', version='19.0.0.Beta11', versionPattern=null, versionComparator=org.wildfly.channel.version.FixedVersionMatcher@51acdf2e}, | |
Stream{groupId='org.wildfly.core', artifactId='wildfly-jar-boot', version='19.0.0.Beta11', versionPattern=null, versionComparator=org.wildfly.channel.version.FixedVersionMatcher@5143c662}, | |
Stream{groupId='org.wildfly.galleon-plugins', artifactId='wildfly-config-gen', version='6.0.0.Alpha6', versionPattern=null, versionComparator=org.wildfly.channel.version.FixedVersionMatcher@78383390}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testInstallManifeset() throws Exception { | |
ExecutionUtils.prosperoExecution(CliConstants.Commands.INSTALL, | |
CliConstants.PROVISION_CONFIG, MetadataTestUtils.prepareProvisionConfig(CHANNEL_BASE_CORE_19).toString(), | |
CliConstants.FPL, "wildfly-core@maven(org.jboss.universe:community-universe):19.0", | |
CliConstants.DIR, targetDir.toString()) | |
.withTimeLimit(10, TimeUnit.MINUTES) | |
.execute() | |
.assertReturnCode(ReturnCodes.SUCCESS); | |
final ChannelManifest installedManifest = ManifestYamlSupport.parse(targetDir.resolve(METADATA_DIR).resolve(MANIFEST_FILE_NAME).toFile()); | |
final File sourceManifestFile = new File(MetadataTestUtils.class.getClassLoader().getResource(CHANNEL_BASE_CORE_19).toURI()); | |
// some streams are missing from the installation directory. | |
assertThat(ManifestYamlSupport.parse(sourceManifestFile).getStreams()) | |
.containsExactlyElementsOf(installedManifest.getStreams()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment