-
Notifications
You must be signed in to change notification settings - Fork 13
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
Split test for SSL authentication with Multiplexed transports #3677
Conversation
tests/IceRpc.Quic.Tests/Transports/QuicTransportSslAuthenticationTests.cs
Outdated
Show resolved
Hide resolved
tests/IceRpc.Quic.Tests/Transports/QuicTransportSslAuthenticationTests.cs
Outdated
Show resolved
Hide resolved
tests/IceRpc.Quic.Tests/Transports/QuicTransportSslAuthenticationTests.cs
Outdated
Show resolved
Hide resolved
tests/IceRpc.Quic.Tests/Transports/QuicTransportSslAuthenticationTests.cs
Outdated
Show resolved
Hide resolved
var listener = provider.GetRequiredService<IListener<IMultiplexedConnection>>(); | ||
|
||
// Start the TLS handshake. | ||
var clientConnectTask = sut.Client.ConnectAsync(default); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like this should be simply:
await sut.Client.ConnectAsync(default);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would this complete before we call accept?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the previous version of this code, I thought the connectTask succeeded.
tests/IceRpc.Quic.Tests/Transports/QuicTransportSslAuthenticationTests.cs
Outdated
Show resolved
Hide resolved
tests/IceRpc.Quic.Tests/Transports/QuicTransportSslAuthenticationTests.cs
Outdated
Show resolved
Hide resolved
tests/IceRpc.Quic.Tests/Transports/QuicTransportSslAuthenticationTests.cs
Outdated
Show resolved
Hide resolved
tests/IceRpc.Tests/Transports/Slic/SlicTransportSslAuthenticationTests.cs
Show resolved
Hide resolved
tests/IceRpc.Tests/Transports/Slic/SlicTransportSslAuthenticationTests.cs
Outdated
Show resolved
Hide resolved
tests/IceRpc.Tests/Transports/Slic/SlicTransportSslAuthenticationTests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
var listener = provider.GetRequiredService<IListener<IMultiplexedConnection>>(); | ||
|
||
// Start the TLS handshake. | ||
var clientConnectTask = sut.Client.ConnectAsync(default); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the previous version of this code, I thought the connectTask succeeded.
Fix #3673