-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add node-v22 tests and add them to extended suite
Signed-off-by: MarkAckert <[email protected]>
- Loading branch information
1 parent
1f0f969
commit 1323392
Showing
3 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
44 changes: 44 additions & 0 deletions
44
tests/installation/src/__tests__/extended/node-versions/node-v22.ts
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/** | ||
* This program and the accompanying materials are made available under the terms of the | ||
* Eclipse Public License v2.0 which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Copyright Zowe Contributors 2024 | ||
*/ | ||
|
||
import { | ||
checkMandatoryEnvironmentVariables, | ||
installAndVerifyConvenienceBuild, | ||
showZoweRuntimeLogs, | ||
} from '../../../utils'; | ||
import { TEST_TIMEOUT_CONVENIENCE_BUILD } from '../../../constants'; | ||
|
||
const testServer = process.env.TEST_SERVER; | ||
const testSuiteName = 'Test convenience build installation with node.js v22'; | ||
describe(testSuiteName, () => { | ||
beforeAll(() => { | ||
// validate variables | ||
checkMandatoryEnvironmentVariables([ | ||
'ZOWE_BUILD_LOCAL', | ||
]); | ||
}); | ||
|
||
test('install and verify', async () => { | ||
await installAndVerifyConvenienceBuild( | ||
testSuiteName, | ||
testServer, | ||
{ | ||
'zowe_build_local': process.env['ZOWE_BUILD_LOCAL'], | ||
'zowe_custom_for_test': 'true', | ||
'zos_node_home': '/ZOWE/node/node-v22.10.0', | ||
'zowe_lock_keystore': 'false', | ||
} | ||
); | ||
}, TEST_TIMEOUT_CONVENIENCE_BUILD); | ||
|
||
afterAll(async () => { | ||
await showZoweRuntimeLogs(testServer); | ||
}) | ||
}); |