Files
node/tools
Richard Lau e703ceb8b4 tools: fix type mismatch in test runner
`output.diagnostic` is a list that is appended to on SmartOS when
retrying a test due to `ECONNREFUSED`. The test runner checks if
`output.diagnostic` is truthy and, if so, assigns its value to
`self.traceback`. However `self.traceback` is supposed to be a string,
and `_printDiagnostic()` in the `TapProgressIndicator` attempts to call
`splitlines()` on it, which fails if it is a list with:
AttributeError: 'list' object has no attribute 'splitlines'

PR-URL: https://github.com/nodejs/node/pull/38289
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2021-04-21 16:43:46 -04:00
..
2020-12-16 23:45:26 +01:00
2020-12-26 12:19:26 +01:00
2021-04-14 09:07:29 +00:00
…
…
2020-12-16 23:45:26 +01:00
2020-12-16 23:45:26 +01:00
2021-03-10 08:23:06 -08:00
2021-02-13 18:08:48 +01:00
2020-12-22 01:09:42 +00:00
…
2020-12-16 23:45:26 +01:00
…