Add a test for the initial channel state while waiting for the first name resolver update #7686
Labels
Area: Testing
Includes tests and testing utilities that we have for unit and e2e tests within our repo.
P1
Status: Help Wanted
Type: Testing
I don't think this is currently tested, and I'm not clear whether we have a bug. We should have a test that does the following:
State()
==Idle
.ClientConn.Connect()
and confirm the channel'sState()
==Connecting
immediately upon returning. (It's possible this is racy but it should not be.)Connecting
usingtestutils.AwaitState
.internal.EnterIdleModeForTesting
and then perform (2) and (3) above.The text was updated successfully, but these errors were encountered: