tests/immsv/management/test_saImmOmThreadInterference.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Do not dispatch after finalizing oi handle in OmThreadInterference testcase.
diff --git a/tests/immsv/management/test_saImmOmThreadInterference.c
b/tests/immsv/management/test_saImmOmThreadInterference.c
--- a/tests/immsv/management/test_saImmOmThreadInterference.c
+++ b/tests/immsv/management/test_saImmOmThreadInterference.c
@@ -57,9 +57,9 @@ static void *implementer_thread(void *ar
isReady = 1;
- while(1) {
+ while(!isOmDone) {
ret = poll(fd, 1, 1000);
- if(ret == 1)
+ if(ret == 1 && !isOmDone)
if((err = saImmOiDispatch(immOiHandle,
SA_DISPATCH_ONE)) != SA_AIS_OK)
break;
}
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel