[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: JBAS-4228 Preferred master node for HASingleton

bstansberry@jboss.com do-not-reply at jboss.com
Mon Feb 11 01:08:58 EST 2008


I'm not looking at code right now, just using slightly tired memory of what I saw last week, so please bear with me...

anonymous wrote : Re 1) Each of the different preferred master definitions is in a different test method, i.e. testIpPort, testHostPort, testOnlyPort, testNonNumericPort, testUnknownHost... that should be enough, shouldn't it? 

I was tallking about the old test method that's been there all along, where you'd added some assertions re: some beans you'd added that use preferred master.  I was just wanted those assertions moved into a separate method, so that the original method was a test of HASingletonElectionPolicySimple and the other assertions were in a separate method.  Just a minor thing. 

anonymous wrote : Re 2) I think I have that one covered

OK, good. :-)

anonymous wrote : Btw, while running the the clustered tests for ha singleton election, I have spotted the following WARN message 

Kudos to you for looking at the logs.  Looking at testsuite logs for unexpected WARNs and ERRORs is an excellent way to find all sorts of random problems no one had thought about.  Tedious and painful but very important to do from time to time.

Your solution sounds fine. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128244#4128244

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128244



More information about the jboss-dev-forums mailing list