Registry doesn't realize if another one is already running
Bug #1257676 reported by
Michal Hruby
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scopes-api |
Fix Released
|
Undecided
|
Michi Henning | ||
unity-scopes-api (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If the scope-registry is running, trying to run it second time works just fine, even though it can't bind to the socket it's supposed to "export". It should exit with an error in this case.
And I think the same should happen if trying to run the same scope multiple times.
Related branches
lp:~michihenning/unity-scopes-api/bind-fix
- PS Jenkins bot (community): Approve (continuous-integration)
- Paweł Stołowski (community): Needs Information
- Michal Hruby (community): Approve
-
Diff: 433 lines (+177/-49)7 files modifiedinclude/unity/scopes/internal/zmq_middleware/ObjectAdapter.h (+2/-1)
src/scopes/internal/zmq_middleware/ObjectAdapter.cpp (+63/-38)
test/gtest/scopes/internal/zmq_middleware/ObjectAdapter/ObjectAdapter_test.cpp (+102/-0)
test/gtest/scopes/internal/zmq_middleware/RegistryI/CMakeLists.txt (+1/-1)
test/gtest/scopes/internal/zmq_middleware/RegistryI/RegistryI_test.cpp (+5/-5)
test/gtest/scopes/internal/zmq_middleware/RegistryI/Runtime.ini.in (+2/-2)
test/gtest/scopes/internal/zmq_middleware/RegistryI/TestRegistry.ini.in (+2/-2)
Changed in unity-scopes-api: | |
assignee: | nobody → Michi Henning (michihenning) |
status: | New → In Progress |
Changed in unity-scopes-api: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:unity-scopes-api at revision 132, scheduled for release in unity-scopes-api, milestone Unknown