Skip to content

Conversation

@gabriel-samfira
Copy link
Member

The watcher uses a buffered channel, so we may get stray events that we need to consume before generating new ones in the tests.

This is just for testing purposes. In actual use cases, we never expect to only have one event generated.

The watcher uses a buffered channel, so we may get stray events that
we need to consume before generating new ones in the tests.

This is just for testing purposes. In actual use cases, we never expect
to only have one event generated.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
@gabriel-samfira gabriel-samfira marked this pull request as ready for review June 20, 2024 12:40
@gabriel-samfira gabriel-samfira merged commit 5eef3b6 into cloudbase:main Jun 20, 2024
@gabriel-samfira gabriel-samfira deleted the consume-watcher-events branch June 20, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant