-
Notifications
You must be signed in to change notification settings - Fork 45
test: Move OS version tests to common.js #63
Conversation
At some point we might want to break validateContent() into smaller functions (perhaps validateReportHeader, validateSystemInfo, etc.) -- Although this will make totaling the expected number of tests trickier. |
LGTM, and I ran a CI on it: |
0ae7439
to
111ab4a
Compare
Rebased. Started new CI run: https://ci.nodejs.org/view/post-mortem/job/nodereport-continuous-integration/109/ |
CI failed on Windows to download a Node runtime. Raised #66.
|
I think I've seen the AIX failure before. I'd have thought that 30 secs would be plenty of time to fill the 20Mb heap, but maybe the machine is very slow (it does seem to be by far the slowest platform to run in the CI). |
@rnchamberlain if you think there is a flaky test can you open an issue for it so that it gets investigated ? |
I opened an issue for an AIX failure as I ran on master and it there was a failure so it may be persistent as opposed to flaky: #69 |
LGTM |
PR-URL: #63 Reviewed-By: Richard Chamberlain <richard_chamberlain@uk.ibm.com> Reviewed-By: Howard Hellyer <hhellyer@uk.ibm.com>
Landed as 918ef91 |
See #57 (comment).
Moves the OS version tests from a separate test file to
common.js
so it is validated each time a report is validated by a test.