-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keepalives now work correctly when using postgres (#3650)
This commit fixes an issue where keepalives would not always fire correctly when using the postgres store. It seems that this regression was introduced several releases ago, but it was not always apparent for all users. The keepalive mechanism was always consulting etcd when retrieving events, and as such, when postgres was enabled, keepalives could be incorrectly passing. Unfortunately, due to the current architecture of sensu-go and sensu-enterprise-go, it is not possible to write a unit test that proves this commit fixes the issue. A test will need to be added to the sensu-enterprise-go repo instead. An unrelated unit test has been added that shores up testing of check history generation; this has been done to maintain parity between sensu-go and sensu-enterprise-go for tests. Signed-off-by: Eric Chlebek <[email protected]>
- Loading branch information
Showing
5 changed files
with
44 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters