-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
The Kubernetes autodiscover feature now incorporates a debounce logic when reloading inputs. By default, it waits for at least 1 second before invoking the Reload method. In case of an error, it introduces a 10-second delay before retrying. The channel used for test synchronisation has been removed and tests now use (assert/require).Eventually. When Autodiscover calls `cfgfile.NewRunnerList` to instantiate a RunnerList, it now specifies a different logger name, enabling more granular log filtering. Debug logs now provide information about the reasons for invoking Reload. Certain tests that perform sequential actions now utilise `require` instead of `assert` to maintain a consistent state avoid cascading failures. Tests that required updates now leverage `require.Eventually` instead of `wait`, providing additional information on failure causes. Documentation for `cfgfile.RunnerList` has been improved to enhance clarity. (cherry picked from commit d270536) Co-authored-by: Tiago Queiroz <[email protected]>
- Loading branch information
1 parent
4682eb7
commit f57d370
Showing
7 changed files
with
330 additions
and
72 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
Oops, something went wrong.