- **status**: review --> fixed


---

** [tickets:#624] IMM: Many immomtest cases fail incorrectly if 2PBE is 
enabled.**

**Status:** fixed
**Created:** Tue Nov 12, 2013 01:48 PM UTC by Anders Bjornerstedt
**Last Updated:** Tue Jan 21, 2014 12:18 PM UTC
**Owner:** Zoran Milinkovic

Most testcases for immomtest fail executed on a system with 2PBE enabled.
The reason is that immomtest heavily depends on the OpenSAF IMM service object:

    opensafImm=opensafImm,safApp=safImmService

2PBE sets admin-owner for this object to 'safImmService', which seems to 
conflict with some tests that attempt to set the admin-woner to a test value.
In addition, 2PBE creates two runtime objects as children to this object.
This seems to trip up tests that use a scope of SA_IMM_SUBTREE for some operatin
and expects to hit just one object. 

The second problem could possibly be fixed by changing scope to SA_IMM_ONE,
but more fundamentally it is wrong that these tests rely on and operate on
official imm service objects. The tests should only operate on test objects
set up by these tests. This to insulate them from changes in the implementation
of the imm service. 


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to