mirror of https://github.com/tailscale/tailscale/
logtail: add a test to upload logs to local server
Start an HTTP server to accept POST requests, and upload some logs to it. Check that uploaded logs were received. Code in logtail:drainPending was not being reliably exercised by other tests. This shows up in code coverage reports, as lines of code in drainPending are alternately added and subtracted from code coverage. This test will reliably exercise and verify this code. Signed-off-by: Denton Gentry <dgentry@tailscale.com>pull/1112/head
parent
0aed59b691
commit
2c328da094
Loading…
Reference in New Issue