new AS7 itest: GenericJBossAS7PluginTest.testAllMetricsHaveNonNullValues()
Ian Springer
ian.springer at redhat.com
Mon Apr 2 14:54:55 UTC 2012
I added a new AS7 itest that attempts to collect all defined numeric
metrics and traits for every discovered Resource. It then asserts that
all metrics return non-null values. The test is currently failing with
the following results:
testAllMetricsHaveNonNullValues(org.rhq.modules.plugins.jbossas7.itest.GenericJBossAS7PluginTest):
Metrics with null values by type: {
ResourceType[id=0, name=DataSource, plugin=jboss-as-7,
category=Service]=[PreparedStatementCacheCurrentSize,
PreparedStatementCacheMissCount, PreparedStatementCacheAddCount,
PreparedStatementCacheAccessCount, PreparedStatementCacheDeleteCount,
PreparedStatementCacheHitCount, AverageBlockingTime, ActiveCount,
CreatedCount, MaxCreationTime, TotalCreationTime, AvailableCount,
MaxUsedCount, TotalBlockingTime, AverageCreationTime, DestroyedCount],
ResourceType[id=0, name=Managed Server, plugin=jboss-as-7,
category=Server]=[startTime],
ResourceType[id=0, name=Transactions Subsystem, plugin=jboss-as-7,
category=Service]=[number-of-nested-transactions,
number-of-timed-out-transactions, number-of-committed-transactions,
number-of-transactions, number-of-heuristics,
number-of-aborted-transactions, number-of-inflight-transactions,
number-of-application-rollbacks, number-of-resource-rollbacks]
}
expected:<true> but was:<false>
Note, the metrics with null values are grouped by ResourceType.
More information about the rhq-devel
mailing list