@@ -142,15 +142,25 @@ public void testLocalCurrentVersionIntegTestZip() {
142
142
public void testLocalCurrentVersionArchives () {
143
143
for (Platform platform : Platform .values ()) {
144
144
for (boolean bundledJdk : new boolean [] { true , false }) {
145
- // create a new project in each iteration, so that we know we are resolving the only additional project being created
146
- Project project = createProject (BWC_MINOR , true );
147
- String projectName = projectName (platform .toString (), bundledJdk );
148
- projectName += (platform == Platform .WINDOWS ? "-zip" : "-tar" );
149
- Project archiveProject = ProjectBuilder .builder ().withParent (archivesProject ).withName (projectName ).build ();
150
- archiveProject .getConfigurations ().create ("default" );
151
- archiveProject .getArtifacts ().add ("default" , new File ("doesnotmatter" ));
152
- createDistro (project , "distro" , VersionProperties .getOpenSearch (), Type .ARCHIVE , platform , bundledJdk );
153
- checkPlugin (project );
145
+ for (Architecture architecture : Architecture .values ()) {
146
+ // create a new project in each iteration, so that we know we are resolving the only additional project being created
147
+ Project project = createProject (BWC_MINOR , true );
148
+ String projectName = projectName (platform .toString (), bundledJdk );
149
+ projectName += (platform == Platform .WINDOWS ? "-zip" : "-tar" );
150
+ Project archiveProject = ProjectBuilder .builder ().withParent (archivesProject ).withName (projectName ).build ();
151
+ archiveProject .getConfigurations ().create ("default" );
152
+ archiveProject .getArtifacts ().add ("default" , new File ("doesnotmatter" ));
153
+ final OpenSearchDistribution distro = createDistro (
154
+ project ,
155
+ "distro" ,
156
+ VersionProperties .getOpenSearch (),
157
+ Type .ARCHIVE ,
158
+ platform ,
159
+ bundledJdk
160
+ );
161
+ distro .setArchitecture (architecture );
162
+ checkPlugin (project );
163
+ }
154
164
}
155
165
}
156
166
}
0 commit comments