From 3fe4def288e0ecfcbf881ce32244cde9f27e9120 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 28 Aug 2009 23:28:29 +0000 Subject: [PATCH] monitorAddConnectionCallbackTest test was too specific - we shouldnt test for exactly two subscription updates when more than two is sufficent --- src/ca/acctst.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ca/acctst.c b/src/ca/acctst.c index 8ab89f8c2..3557e220e 100644 --- a/src/ca/acctst.c +++ b/src/ca/acctst.c @@ -2218,14 +2218,14 @@ void monitorAddConnectionCallbackTest ( const char *pName, unsigned interestLeve while ( eventCount < 2 ) { ca_pend_event ( 0.1 ); } - verify ( eventCount == 2u ); + verify ( eventCount >= 2u ); status = ca_get_callback ( DBR_DOUBLE, chan, nUpdatesTester, &getCallbackCount ); SEVCHK ( status, "monitorAddConnectionCallback get callback" ); while ( getCallbackCount == 0 ) { ca_pend_event ( 0.1 ); } - verify ( eventCount == 2u ); + verify ( eventCount >= 2u ); verify ( getCallbackCount == 1u ); status = ca_clear_channel ( chan );