mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
tlsrpt-reporter: apply patch for fetcher issue when no db exists
The fetcher would then error out and not return the proper protocol
version to the reportd instance, causing an error message.
This is annoying, because I want to match success in the test.
(cherry picked from commit 35e471ad45)
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
machine.wait_for_file("/run/tlsrpt/collectd.sock")
|
||||
machine.wait_until_succeeds("journalctl -o cat -u tlsrpt-collectd | grep -Pq 'Database .* setup finished'")
|
||||
machine.wait_until_succeeds("journalctl -o cat -u tlsrpt-reportd | grep -Pq 'Database .* setup finished'")
|
||||
machine.wait_until_succeeds("journalctl -o cat -u tlsrpt-reportd | grep -Pq 'Fetcher .* finished'")
|
||||
|
||||
# Enabling postfix should put sendmail as the sendmail setting
|
||||
machine.succeed("grep -q sendmail_script=sendmail /etc/tlsrpt/reportd.cfg")
|
||||
|
||||
Reference in New Issue
Block a user