-
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.
Signed-off-by: MarkAckert <[email protected]>
- Loading branch information
1 parent
2b08d66
commit b198f80
Showing
4 changed files
with
56 additions
and
2 deletions.
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
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-v20.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 IBM Corporation 2022 | ||
*/ | ||
|
||
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 v20'; | ||
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-v20.11.0', | ||
'zowe_lock_keystore': 'false', | ||
} | ||
); | ||
}, TEST_TIMEOUT_CONVENIENCE_BUILD); | ||
|
||
afterAll(async () => { | ||
await showZoweRuntimeLogs(testServer); | ||
}) | ||
}); |