Hi Mahesh Please create UML test cases. In log service it is possible if needed to create test cases that does not run as part of the legacy test suite (when using command logtest without options or parameters). It is also possible to create test cases where the tester is asked to do actions e.g. stop or start a node. See tet_Log_recov.c (saLogRecov_req_node_start, saLogRecov_req_node_stop, add_suite_nn...) as an example.
Thanks Lennart > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: den 4 augusti 2016 13:13 > To: Vu Minh Nguyen <[email protected]>; Lennart Lund > <[email protected]>; Anders Widell <[email protected]> > Cc: [email protected] > Subject: [PATCH 3 of 3] logtest: change related to Cluster Membership (CLM) > integration [#1638] V3 > > tests/logsv/saflogtest.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > > Test : > > #amf-adm lock safNode=PL-4,safCluster=myClmCluster > > <saLogStreamOpen_2> failed with code SA_AIS_ERR_UNAVAILABLE (31). > > #amf-adm unlock safNode=PL-4,safCluster=myClmCluster > > <saLogStreamOpen_2> failed with code SA_AIS_ERR_UNAVAILABLE (31). > > #amf-adm lock safNode=PL-4,safCluster=myClmCluster + (SC-1 & Sc-2 > /etc/init.d/opensafd stop) > > <saLogStreamOpen_2> failed with code SA_AIS_ERR_UNAVAILABLE (31) > > # amf-adm lock safNode=PL-4,safCluster=myClmCluster + ((SC-1 & Sc-2 > /etc/init.d/opensafd stop)) + > ((SC-1 & Sc-2 /etc/init.d/opensafd start) + amf-adm unlock safNode=PL- > 4,safCluster=myClmCluster > > <saLogStreamOpen_2> failed with code SA_AIS_ERR_UNAVAILABLE (31) > > Expected but currently The Imm APIs are NOT working > error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2) > > diff --git a/tests/logsv/saflogtest.c b/tests/logsv/saflogtest.c > --- a/tests/logsv/saflogtest.c > +++ b/tests/logsv/saflogtest.c > @@ -86,7 +86,7 @@ static inline void time_meas_log(time_me > static void logWriteLogCallbackT(SaInvocationT invocation, SaAisErrorT > error); > > static SaLogCallbacksT logCallbacks = { 0, 0, logWriteLogCallbackT }; > -static SaVersionT logVersion = { 'A', 2, 1 }; > +static SaVersionT logVersion = { 'A', 2, 2 }; > > static char *progname = "saflogtest"; > static SaInvocationT cb_invocation; ------------------------------------------------------------------------------ _______________________________________________ Opensaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-devel
