Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-1925 Unit testing of api-server / affinity router
  3. VOL-2056

Unit tests cannot be run while kind-voltha is running

    XMLWordPrintable

    Details

    • Story Points:
      1

      Description

      Running `make test` while a kind voltha environment is also running leads to a port conflict.

      Suspect it may be due to the server.go tests, which use port 55555: https://gerrit.opencord.org/#/c/15648/2/internal/pkg/afrouter/server_test.go

      David found a link that describes a technique for picking an unused available port: https://stackoverflow.com/questions/43424787/how-to-use-next-available-port-in-http-listenandserve

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            daniele.rossi Daniele Rossi
            Reporter:
            scottb Scott Baker
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes