Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21346#discussion_r191001733
  
    --- Diff: 
common/network-common/src/test/java/org/apache/spark/network/RpcIntegrationSuite.java
 ---
    @@ -130,6 +183,59 @@ public void onFailure(Throwable e) {
         return res;
       }
     
    +  private RpcResult sendRpcWithStream(String... streams) throws Exception {
    +    TransportClient client = 
clientFactory.createClient(TestUtils.getLocalHost(), server.getPort());
    +    final Semaphore sem = new Semaphore(0);
    +    RpcResult res = new RpcResult();
    +    res.successMessages = Collections.synchronizedSet(new 
HashSet<String>());
    +    res.errorMessages = Collections.synchronizedSet(new HashSet<String>());
    +
    +    for (String stream: streams) {
    --- End diff --
    
    space before `:`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to