TIPC published event received is not as order MDS service install. Service 600 got published role active before role standby even install role standby before role active. The simplest and safe solution is add sleep 1s before change vdest role to active. --- src/mds/apitest/mdstipc_api.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/mds/apitest/mdstipc_api.c b/src/mds/apitest/mdstipc_api.c index 22a4386..34dcd3b 100644 --- a/src/mds/apitest/mdstipc_api.c +++ b/src/mds/apitest/mdstipc_api.c @@ -1847,6 +1847,7 @@ void tet_svc_subscr_VDEST_11() printf("\nFail to subscribing for the service 500\n"); FAIL = 1; } + sleep(1); /* verifying the rem svc ver from 600 and 700*/ printf("\nChanging the role of vdest to active"); if (vdest_change_role(1001, V_DEST_RL_ACTIVE) != NCSCC_RC_SUCCESS) { -- 2.7.4 _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel