-
Type: Sub-task
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.2
-
Component/s: api-server
-
Labels:
-
Story Points:1
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
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
15745,1 | VOL-2056 Unit tests cannot be run while kind-voltha is running | master | voltha-api-server | Status: ABANDONED | 0 | +1 |
15772,3 | VOL-2056 Unit tests cannot be run while kind-voltha is running | master | voltha-api-server | Status: MERGED | +2 | +1 |