Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
ansible
configurations/default
terraform
README.md

README.md

SIGHUP Correctness Test

This test verifies that the subject correctly responds to the SIGHUP signal, gracefully reloading configuration changes.

Design

  1. 2 TCP consumers are set up, each on separate hosts.
  2. Each subject is initially configured to send data to the first TCP consumer.
  3. A test line is sent to the subject.
  4. The subject's configuration file is updated to send data to the second TCP consumer.
  5. The SIGHUP signal is sent to the subject's project.
  6. A second test line is sent to the subject.
  7. Assert that the first TCP server received the first line and the second TCP server received the second line.

Results

Subject Result
Filebeat
FluentBit
FluentD
Logstash ⚠️[1]
Splunk HF
Splunk UF
Vector
  1. Logstash failed the test because it does not gracefully reload change. Instead of performs a full restart, making Logstash unavaible for a period of time. Because of this it failed to receive the second line. In order for this test to pass we had to wait 30 seconds to send the second line.

Try It

You can run this test via:

test -t sighup_correctness

Resources

You can’t perform that action at this time.