mirror of https://github.com/grpc/grpc-java.git
interop-testing: fix alts handshaking race (#7896)
This commit is contained in:
parent
8030c3a11d
commit
0d2ea9365a
|
|
@ -53,7 +53,7 @@ public class AltsHandshakerTestService extends HandshakerServiceImplBase {
|
|||
@Override
|
||||
public void onNext(HandshakerReq value) {
|
||||
log.log(Level.FINE, "request received: " + value);
|
||||
synchronized (this) {
|
||||
synchronized (AltsHandshakerTestService.this) {
|
||||
switch (expectState) {
|
||||
case CLIENT_INIT:
|
||||
checkState(CLIENT_START.equals(value.getReqOneofCase()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue