forked from tektoncd/triggers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sink: Sync lister informers before serving traffic
Previously, we had a race where the EL would start serving traffic before the lister caches were synced. This leads to the intermittent resolution issues described in tektoncd#896. tektoncd#977 was an attempt to fix this for the EventListener resource. This commit fixes it for all resource types by first registering all the listers, and then syncing the cache before serving traffic. Tested by modifying the e2e test to run the intermittently failing test 10 times. Without this fix, it fails while with it it does not (See tektoncd#1012). Fixes tektoncd#896 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
- Loading branch information
Showing
6 changed files
with
24 additions
and
110 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
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