Fix Kafka tests to not use dockerhub#7094
Merged
eerhardt merged 1 commit intomicrosoft:mainfrom Jan 14, 2025
Merged
Conversation
Dockerhub has a rate limit so we can't use it in CI.
eerhardt
commented
Jan 14, 2025
| : host.Services.GetRequiredService<IProducer<string, string>>()) | ||
| { | ||
| for (int i = 0; i < 100; i++) | ||
| for (int i = 0; i < 5; i++) |
Member
Author
There was a problem hiding this comment.
The tests were taking 45 seconds each on my machine. I thought making this less would take the time away, but the time appears to be waiting for the first "Consume" to work.
Standard Output:
1/14/2025 12:24:21 AM: produced message 0
1/14/2025 12:24:21 AM: produced message 1
1/14/2025 12:24:21 AM: produced message 2
1/14/2025 12:24:21 AM: produced message 3
1/14/2025 12:24:21 AM: produced message 4
1/14/2025 12:24:21 AM: before flush
1/14/2025 12:24:22 AM: after flush
1/14/2025 12:24:22 AM: after Subscribe
1/14/2025 12:25:05 AM: consumed message 0
1/14/2025 12:25:05 AM: consumed message 1
1/14/2025 12:25:05 AM: consumed message 2
1/14/2025 12:25:05 AM: consumed message 3
1/14/2025 12:25:05 AM: consumed message 4
sebastienros
approved these changes
Jan 14, 2025
Member
Author
|
Tests passed on Linux Helix runs. Merging to unblock CI. |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dockerhub has a rate limit so we can't use it in CI.