Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix udp test in C# #3226

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Conversation

bernardnormier
Copy link
Member

This PR fixes the UDP test in C#. It was not running correctly and yet succeeding.

properties.setProperty("Ice.UDP.SndSize", "16384");
using (var communicator = initialize(properties))
{
AllTests.allTests(this);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was the root bug. allTests is async but we didn't await it since returns void.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything else is reformatting!

}

public static async void allTests(global::Test.TestHelper helper)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

async void = bad

@bernardnormier bernardnormier merged commit 9497134 into zeroc-ice:main Dec 3, 2024
19 checks passed
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