mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
(will be reverted) add assertion for CI failure
This commit is contained in:
parent
e1d6174eea
commit
78d5560f9e
1 changed files with 4 additions and 5 deletions
|
@ -28,17 +28,16 @@ describe('cli invalid config support', function () {
|
|||
|
||||
let fatalLogLines;
|
||||
try {
|
||||
fatalLogLines = stdout
|
||||
.toString('utf8')
|
||||
.split('\n')
|
||||
.filter(Boolean)
|
||||
.filter((line) => line.includes('[FATAL]'));
|
||||
fatalLogLines = stdout.toString('utf8').split('\n').filter(Boolean);
|
||||
// .filter((line) => line.includes('[FATAL]'));
|
||||
} catch (e) {
|
||||
throw new Error(
|
||||
`error parsing log output:\n\n${e.stack}\n\nstdout: \n${stdout}\n\nstderr:\n${stderr}`
|
||||
);
|
||||
}
|
||||
|
||||
expect(fatalLogLines).toEqual([]);
|
||||
|
||||
expect(error).toBe(undefined);
|
||||
expect(fatalLogLines).toHaveLength(1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue