Skip to content

Commit

Permalink
Test NP logging config reload on SIGHUP (#57681) (#58107)
Browse files Browse the repository at this point in the history
* TSify reload config test and simplify logic

* get rid of mutable config in tests

* increase timeouts

* address comments
  • Loading branch information
mshustov authored Feb 20, 2020
1 parent ef8c36f commit e1aaf04
Show file tree
Hide file tree
Showing 5 changed files with 310 additions and 224 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
server:
autoListen: false
port: 8274
logging:
json: true
optimize:
enabled: false
plugins:
initialize: false
migrations:
skip: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
server:
autoListen: false
port: 8274
logging:
loggers:
- context: root
appenders:
- console
level: debug
appenders:
console:
kind: console
layout:
kind: json
root:
level: debug
optimize:
enabled: false
plugins:
initialize: false
migrations:
skip: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
server:
autoListen: false
port: 8274
logging:
loggers:
- context: root
appenders:
- file
level: debug
appenders:
file:
kind: file
layout:
kind: pattern
root:
level: debug
optimize:
enabled: false
plugins:
initialize: false
migrations:
skip: true
224 changes: 0 additions & 224 deletions src/cli/serve/integration_tests/reload_logging_config.test.js

This file was deleted.

Loading

0 comments on commit e1aaf04

Please sign in to comment.