benchmark: skip test-benchmark-os on IBMi#50286
benchmark: skip test-benchmark-os on IBMi#50286mhdawson wants to merge 3 commits intonodejs:mainfrom
Conversation
mhdawson
commented
Oct 19, 2023
- IBMi does not have the os.uptime implemented so skip otherwise CI tests fail.
- IBMi does not have the os.uptime implemented so skip otherwise CI tests fail. Signed-off-by: Michael Dawson <[email protected]>
|
CI run to confirm this skips the test on IBMi and the CI is green - https://ci.nodejs.org/view/All/job/node-test-commit-ibmi/1338/ |
Signed-off-by: Michael Dawson <[email protected]>
|
@abmusse FYI |
Signed-off-by: Michael Dawson <[email protected]>
|
CI to verify again that is passed on ibmi - https://ci.nodejs.org/view/All/job/node-test-commit-ibmi/1339/ |
| if (os.type() === 'OS400') { | ||
| console.log('Skipping: os.uptime is not implemented on IBMi'); | ||
| process.exit(0); | ||
| } |
There was a problem hiding this comment.
I think it is better to put outside main, on top of the file, just not to have any weird behavior.
But is not a blocker for me, so do it if you agree.
There was a problem hiding this comment.
@mhdawson can you move this to a similar position like in other fs benchmarks?
|
Fast-track has been requested by @mhdawson. Please 👍 to approve. |
- IBMi does not have the os.uptime implemented so skip otherwise CI tests fail. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #50286 Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
|
Landed in abd8ff6 |
- IBMi does not have the os.uptime implemented so skip otherwise CI tests fail. Signed-off-by: Michael Dawson <[email protected]> PR-URL: nodejs#50286 Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
- IBMi does not have the os.uptime implemented so skip otherwise CI tests fail. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #50286 Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
- IBMi does not have the os.uptime implemented so skip otherwise CI tests fail. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #50286 Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>