Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-962

Java Framework: update to FR guava 26 has side effects on connector server unit tests

    Details

    • Verified Version/s:
    • Story Points:
      2
    • Sprint:
      OpenIDM Sprint 6.5-10.2

      Description

      the update of FR guava to 26 has a side effect on the "littleproxy" tool used for connector server tests. 

      littleproxy depends on google guava 20 and some method have been removed since then.

      Unit tests that use little proxy may go to infinite loop with:

       

      16:23:29.228 [LittleProxy-0-ClientToProxyWorker-1] ERROR o.l.p.impl.ClientToProxyConnection - (AWAITING_INITIAL) [id: 0xa99f7bf9, L:/127.0.0.1:41277 - R:/127.0.0.1:48548]: Caught an exception on ClientToProxyConnection
      java.lang.NoSuchMethodError: com.google.common.net.HostAndPort.getHostText()Ljava/lang/String;
             at org.littleshoot.proxy.impl.ProxyToServerConnection.addressFor(ProxyToServerConnection.java:961)
             at org.littleshoot.proxy.impl.ProxyToServerConnection.setupConnectionParameters(ProxyToServerConnection.java:832)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                travis.haagen Travis Haagen
                Reporter:
                gael Gael Allioux
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: