修正encodingFilter,兼容SimpleDriver

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@428 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-07-14 05:39:59 +00:00
parent 55b485d8f2
commit fd58368cf7
2 changed files with 3 additions and 3 deletions
@@ -26,8 +26,8 @@ public class StatisticTest extends TestCase {
JdbcConnectionStat stat = new JdbcConnectionStat();
Assert.assertEquals(null, stat.getConnectLastTime());
stat.setActiveCount(1);
Assert.assertEquals(1, stat.getConnectingMax());
Assert.assertEquals(1, stat.getActiveMax());
stat.setActiveCount(2);
Assert.assertEquals(2, stat.getConnectingMax());
Assert.assertEquals(2, stat.getActiveMax());
}
}
@@ -47,7 +47,7 @@ public class StatFilterTest extends TestCase {
if (url.equals((String) row.get("URL"))) {
count++;
}
Assert.assertEquals(0, row.get("Count_50000_more"));
Assert.assertEquals(0L, row.get("ExecuteCount_30_more_Minutes"));
}
Assert.assertEquals(true, count > 0);