[work-serializer] Fix synchronous test assumption (#34392)

This test assumed synchronous work serializer execution (or at least
faster async than we always get)... make a trivial change to keep the
test semantics but allow for the implementation to be more async.
pull/33642/merge
Craig Tiller 1 year ago committed by GitHub
parent 25cb8e6ed2
commit 0375a585e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/cpp/end2end/client_lb_end2end_test.cc

@ -1729,7 +1729,7 @@ TEST_F(RoundRobinTest, FailsEmptyResolverUpdate) {
EXPECT_TRUE(
WaitForChannelState(channel.get(), predicate, /*try_to_connect=*/true));
// Callback should have been run.
ASSERT_TRUE(notification.HasBeenNotified());
notification.WaitForNotification();
// Return a valid address.
gpr_log(GPR_INFO, "****** SENDING NEXT RESOLVER RESULT *******");
StartServers(1);

Loading…
Cancel
Save