mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
yet another IT fix
This commit is contained in:
parent
8c0d87301c
commit
e1d6174eea
1 changed files with 2 additions and 7 deletions
|
@ -23,18 +23,14 @@ describe('configuration deprecations', () => {
|
|||
}
|
||||
});
|
||||
|
||||
it('should not log deprecation warnings for default configuration that is not one of `logging.verbose`, `logging.quiet` or `logging.silent`', async () => {
|
||||
it('should not log deprecation warnings for default configuration', async () => {
|
||||
root = kbnTestServer.createRoot();
|
||||
|
||||
await root.preboot();
|
||||
await root.setup();
|
||||
|
||||
const logs = loggingSystemMock.collect(mockLoggingSystem);
|
||||
expect(logs.warn.flat()).toMatchInlineSnapshot(`
|
||||
Array [
|
||||
"\\"logging.silent\\" has been deprecated and will be removed in 8.0. Moving forward, you can use \\"logging.root.level:off\\" in your logging configuration. ",
|
||||
]
|
||||
`);
|
||||
expect(logs.warn.flat()).toHaveLength(0);
|
||||
});
|
||||
|
||||
it('should log deprecation warnings for core deprecations', async () => {
|
||||
|
@ -53,7 +49,6 @@ describe('configuration deprecations', () => {
|
|||
Array [
|
||||
"You no longer need to configure \\"optimize.lazy\\".",
|
||||
"You no longer need to configure \\"optimize.lazyPort\\".",
|
||||
"\\"logging.silent\\" has been deprecated and will be removed in 8.0. Moving forward, you can use \\"logging.root.level:off\\" in your logging configuration. ",
|
||||
]
|
||||
`);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue