[ https://forge.continuent.org/jira/browse/CAROB-71?page=all ] Marc Herbert closed CAROB-71: -----------------------------
> TestConnectBadDB enters (almost) infinite loop > ---------------------------------------------- > > Key: CAROB-71 > URL: https://forge.continuent.org/jira/browse/CAROB-71 > Project: Carob > Type: Bug > Components: C++ API > Reporter: Marc Herbert > Assignee: Marc Herbert > Fix For: V1.0 - beta > > > In my setup (only one controller, demo-raidb1), 10-/TestConnectBadDB() > enters a very long loop. It seems a bad VDB name throws a ConnectionException, > which is handled as controller failure in the infinite while loop in > Connection > constructor. > Moreover this infinite while loop should probably be replaced by something > like: > for( i < RECONNECT_RETRIES) > (or with a different constant if the retry scenario is not the same) > For some unknown reason, the infinite loop finally stops after a very long > time, and so the test... succeeds! (because it's a "BadVDBName" test) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://forge.continuent.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ Carob mailing list [email protected] https://forge.continuent.org/mailman/listinfo/carob
