Hi Lennart,

Added test suite 14 , please review    `logtest: change related to 
Cluster Membership (CLM) integration [#1638] V4  & tests: added missing 
saf_error strings [#1638] V4`,
also incorporated , the other review comments as well.

-AVM

On 8/4/2016 6:23 PM, Lennart Lund wrote:
> 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: mahesh.va...@oracle.com [mailto:mahesh.va...@oracle.com]
>> Sent: den 4 augusti 2016 13:13
>> To: Vu Minh Nguyen <vu.m.ngu...@dektech.com.au>; Lennart Lund
>> <lennart.l...@ericsson.com>; Anders Widell <anders.wid...@ericsson.com>
>> Cc: opensaf-devel@lists.sourceforge.net
>> 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
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to