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

5.17.08 (develop) [code:db1965]
~~~
commit db1965d634eac2f375f455b7b7d3e9f70ff0c47c
Author: Hung Nguyen <hung.d.ngu...@dektech.com.au>
Date:   Tue Jun 6 14:27:48 2017 +0700

    immtest: Explicitly clear implementer name in OI long DN testcases [#2484]

    Explicitly clear implementer name in OI long DN testcases.
~~~
5.17.06 (release) [code:4acdec]
~~~
commit 4acdecc368b6326d5997eec406474bdf51452064
Author: Hung Nguyen <hung.d.ngu...@dektech.com.au>
Date:   Tue Jun 6 14:27:48 2017 +0700

    immtest: Explicitly clear implementer name in OI long DN testcases [#2484]

    Explicitly clear implementer name in OI long DN testcases.

~~~



---

** [tickets:#2484] imm: Testsuit 7 of immoitest fails with ERR_TRY_AGAIN**

**Status:** fixed
**Milestone:** 5.17.06
**Created:** Tue Jun 06, 2017 04:25 AM UTC by Hung Nguyen
**Last Updated:** Tue Jun 06, 2017 08:42 AM UTC
**Owner:** Hung Nguyen


~~~
# immoitest --longDn 7

Suite 7: Long DN
    1  PASSED   SA_AIS_OK - Object create callback;
    2  PASSED   SA_AIS_OK - Object modify callback;
    3  PASSED   SA_AIS_OK - Object delete callback;
    4  PASSED   SA_AIS_OK - Rt Object create and delete;
error: in src/imm/apitest/implementer/test_saImmOiLongDn.c at 500: 
SA_AIS_ERR_TRY_AGAIN (6), expected SA_AIS_OK (1) - exiting
~~~

The testcases of testsuite 7 use the same implementer name.
At the end of each testcase, the implementer name is not explicitly cleared 
with saImmOiImplementerClear().
Instead, saImmOiFinalize() is called.
The difference between OiImplementerClear() and OiFinalize() is:
\- OiImplementerClear() returns after the implementer is fully discarded on all 
nodes
\- saImmOiFinalize() returns after the implementer is locally discarded on the 
originating node (no guarantee of being fully discarded)

So if you set the same implementer name after saImmOiFinalize(), chances are 
you will get ERR_TRY_AGAIN.


---

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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to