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

testFetchDropzonesBadURL returning valid dropzone when expecting null

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • master
    • None
    • WSClient
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: