MCPcopy Create free account
hub / github.com/grpc/grpc-java / run

Method run

core/src/test/java/io/grpc/internal/ServerImplTest.java:1170–1181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1168 createAndStartServer();
1169 new Thread() {
1170 @Override
1171 public void run() {
1172 synchronized (lock) {
1173 try {
1174 barrier.await();
1175 } catch (Exception ex) {
1176 throw new AssertionError(ex);
1177 }
1178 // To deadlock, a lock would be needed for this call to proceed.
1179 transportServer.listener.serverShutdown();
1180 }
1181 }
1182 }.start();
1183 server.shutdown();
1184 }

Callers

nothing calls this directly

Calls 3

awaitMethod · 0.65
serverShutdownMethod · 0.65
transportTerminatedMethod · 0.65

Tested by

no test coverage detected