Uploaded image for project: 'JAPI'
  1. JAPI
  2. JAPI-381

testFetchDropzonesBadURL returning valid dropzone when expecting null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: master
    • Fix Version/s: None
    • Component/s: WSClient
    • Labels:
    • Environment:
      Noticed when running remote tests against platform 7.12.22 in a docker container within github actions.

      Description

      Error: testfetchDropZonesBadURL(org.hpccsystems.ws.client.FileSprayClientTest) Time elapsed: 0.016 s <<< FAILURE!
      java.lang.AssertionError: expected null, but was:<[DropZoneWrapper [name = mydropzone, netAddress = ., path = /var/lib/HPCCSystems/mydropzone, computer = ServerList, linux = true]]>
      at org.hpccsystems.ws.client.FileSprayClientTest.testfetchDropZonesBadURL(FileSprayClientTest.java:309)

      Yet the code is passing "invalidserver:8010" as the url. This shouldn't be resolved to "." and a valid dropzone path.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Michael-Gardner Michael Gardner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: