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

commit 51239d4d3c9916b203ccde203f5c4213f631ca0c (HEAD -> develop, 
origin/develop, ticket-3267)
Author: thien.m.huynh <[email protected]>
Date:   Thu Jun 17 15:50:08 2021 +0700

    base: move the testcase sysf_ipc_test to the apitest [#3267]
    
    ncs_leap_startup return error code if the node_id file is missing.
    The return error code is expected. But in the ticket-3266 support
    for running agent before opensafd. So the test case SysfIpcTest
    need to running under opensaf cluster.
    
    In this ticket, move the unit test run as google-test to the apitest



---

** [tickets:#3267] base: unit tests failed for "bin/testleap"**

**Status:** fixed
**Milestone:** 5.21.10
**Created:** Thu Jun 17, 2021 10:19 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Jun 18, 2021 03:10 AM UTC
**Owner:** Thien Minh Huynh


Ticket [#1623] returns error code if the node_id file is missing but ncs seems 
to be partially initialized. In the case where no node_id file exists and the 
return code from ncs_leap_startup.
In the fixed [#3266] has already call leap_env_destroy. That leading the unit 
test fail.
~~~
[----------] 2 tests from SysfIpcTest
[ RUN      ] SysfIpcTest.TestSendReceiveMessage
testleap: src/base/os_defs.c:364: ncs_os_atomic_inc: Assertion 
`gl_ncs_atomic_mtx_initialise' failed.
FAIL bin/testleap (exit status: 134)
~~~


---

Sent from sourceforge.net because [email protected] 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.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to