Closed t1m0thyj closed 1 month ago
Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.
When developing a CLI plug-in that uses
@zowe/cli-test-utils
, after updating to the latest vNext prerelease, then running multiple system tests in parallel fails with the following error:Test suite failed to run
Only one instance of the Imperative Event Emitter is allowed
at Function.initialize (node_modules/@zowe/imperative/src/events/src/ImperativeEventEmitter.ts:34:19) at Function. (node_modules/@zowe/imperative/src/config/src/Config.ts:158:32)
at node_modules/@zowe/imperative/lib/config/src/Config.js:18:71
at Object..__awaiter (node_modules/@zowe/imperative/lib/config/src/Config.js:14:12)
at Function.load (node_modules/@zowe/imperative/lib/config/src/Config.js:84:16)
at Function. (node_modules/@zowe/cli-test-utils/lib/environment/TempTestProfiles.js:208:70)
at step (node_modules/@zowe/cli-test-utils/lib/environment/TempTestProfiles.js:66:23)
at Object.next (node_modules/@zowe/cli-test-utils/lib/environment/TempTestProfiles.js:47:53)