Skip to content

Commit b2e9a34

Browse files
committed
chore: attempt to fix e2e tests
Signed-off-by: Ivo Yankov <[email protected]>
1 parent 9439538 commit b2e9a34

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

resources/extract-platform.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ echo "HAPI_DIR=${HAPI_DIR}" | tee -a ${LOG_FILE}
4242
cd ${HAPI_DIR}
4343
pwd | tee -a ${LOG_FILE}
4444
ls -al | tee -a ${LOG_FILE}
45-
jar xvf "${BUILD_ZIP_FILE}" | tee -a ${LOG_FILE}
45+
#jar xvf "${BUILD_ZIP_FILE}" | tee -a ${LOG_FILE}
46+
47+
# Fix for M4 chips being unable to execute the jar command
48+
dnf install zip unzip -y | tee -a ${LOG_FILE}
49+
unzip -o "${BUILD_ZIP_FILE}" -d "${HAPI_DIR}" | tee -a ${LOG_FILE}
4650
[[ $? -ne 0 ]] && echo "Failure occurred during decompress" && exit 1
4751
echo "................................end: extract-platform.sh" | tee -a ${LOG_FILE}
4852
exit 0

resources/support-zip.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ AddToFileList ${CONFIG_DIR}
4949
AddToFileList ${KEYS_DIR}
5050
AddToFileList ${UPGRADE_DIR}
5151
echo "creating zip file" | tee -a ${LOG_FILE}
52-
jar cvfM "${ZIP_FULLPATH}" "@${FILE_LIST}"
52+
#jar cvfM "${ZIP_FULLPATH}" "@${FILE_LIST}"
53+
zip "${ZIP_FULLPATH}" -@ < "${FILE_LIST}" | tee -a ${LOG_FILE}
5354
echo "...end support-zip.sh" | tee -a ${LOG_FILE}
54-
jar -u -v --file=${ZIP_FULLPATH} ${OUTPUT_DIR}/support-zip.log
55+
#jar -u -v --file=${ZIP_FULLPATH} ${OUTPUT_DIR}/support-zip.log
56+
zip -u -v "${ZIP_FULLPATH}" ${OUTPUT_DIR}/support-zip.log
5557
exit 0

test/test-util.ts

-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ export function bootstrapTestVariables(
144144

145145
const deployment: string = argv.getArg<DeploymentName>(flags.deployment) || `${namespace.name}-deployment`;
146146
const cacheDir: string = argv.getArg<string>(flags.cacheDir) || getTestCacheDir(testName);
147-
resetForTest(namespace.name, cacheDir);
148147
const configManager: ConfigManager = container.resolve(InjectTokens.ConfigManager);
149148
configManager.update(argv.build());
150149

version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import fs from 'fs';
1111
*/
1212

1313
export const HELM_VERSION = 'v3.14.2';
14-
export const SOLO_CHART_VERSION = '0.47.0';
14+
export const SOLO_CHART_VERSION = '0.48.0';
1515
export const HEDERA_PLATFORM_VERSION = 'v0.59.5';
1616
export const MIRROR_NODE_VERSION = 'v0.126.0';
1717
export const HEDERA_EXPLORER_VERSION = '24.12.1';

0 commit comments

Comments
 (0)