Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Platform test setting the port of all services to the same value #78

Closed
farshidtz opened this issue Jul 4, 2022 · 2 comments · Fixed by #94
Closed

Platform test setting the port of all services to the same value #78

farshidtz opened this issue Jul 4, 2022 · 2 comments · Fixed by #94
Labels
bug Something isn't working

Comments

@farshidtz
Copy link
Member

farshidtz commented Jul 4, 2022

TestGlobalConfig: true,
TestMixedGlobalAppConfig: utils.FullConfigTest,

These should be set to false or removed in favor of another custom test that doesn't mess with a port globally.

@MonicaisHer
Copy link
Contributor

edgexfoundry's global and mixed config options could still be tested by changing service-startupmsg or writable-loglevel instead.

@farshidtz farshidtz added the bug Something isn't working label Jul 7, 2022
@farshidtz
Copy link
Member Author

I suggest setting service-startupmsg because not all services write debug logs. Setting a value such as snap-testing can be easily checked in output logs.

We may need to "wait" for the message to appear, by querying the logs periodically, or following them and exiting once the message is there (with a timeout).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants