This is an automated email from the ASF dual-hosted git repository.

fokko pushed a commit to branch branch-1.9
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/branch-1.9 by this push:
     new aa49146  AVRO-2669: TestProtocolSpecific use getClientProtocol getter 
(#755)
aa49146 is described below

commit aa49146b0d8a0d6d5787348ba8f28d485671635d
Author: Fokko Driesprong <[email protected]>
AuthorDate: Sat Jan 11 13:40:21 2020 +0100

    AVRO-2669: TestProtocolSpecific use getClientProtocol getter (#755)
---
 lang/java/ipc/src/test/java/org/apache/avro/TestProtocolSpecific.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/lang/java/ipc/src/test/java/org/apache/avro/TestProtocolSpecific.java 
b/lang/java/ipc/src/test/java/org/apache/avro/TestProtocolSpecific.java
index c66cedf..f53106f 100644
--- a/lang/java/ipc/src/test/java/org/apache/avro/TestProtocolSpecific.java
+++ b/lang/java/ipc/src/test/java/org/apache/avro/TestProtocolSpecific.java
@@ -298,7 +298,7 @@ public class TestProtocolSpecific {
       }
 
       // check that a given client protocol is only sent once
-      String clientProtocol = context.getHandshakeRequest().clientProtocol;
+      String clientProtocol = 
context.getHandshakeRequest().getClientProtocol();
       if (clientProtocol != null) {
         assertFalse(seenProtocols.contains(clientProtocol));
         seenProtocols.add(clientProtocol);

Reply via email to