new AS7 itest: GenericJBossAS7PluginTest.testAllMetricsHaveNonNullValues()

Charles Crouch ccrouch at redhat.com
Mon Apr 2 19:07:23 UTC 2012


So what does this mean? We need to raise JIRAs on AS7 for this?

Cheers
Charles

----- Original Message -----
> 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.
> 
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/rhq-devel
> 


More information about the rhq-devel mailing list