db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4834) Add helper class for working with index statistics in JUnit tests
Date Mon, 06 Dec 2010 07:42:10 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kristian Waagan updated DERBY-4834:
-----------------------------------

    Attachment: derby-4834-4a-toString_leading_cols.diff

Attached patch 4a, which simply adds the number of leading columns to the toString output.
This is required to easily differentiate between the statistics objects for a multi-column
index.

Committed to trunk with revision 1042537.

> Add helper class for working with index statistics in JUnit tests
> -----------------------------------------------------------------
>
>                 Key: DERBY-4834
>                 URL: https://issues.apache.org/jira/browse/DERBY-4834
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.7.1.1
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>         Attachments: derby-4834-1a-indexstats_utility_class.diff, derby-4834-2a-assertNoStatsTable.diff,
derby-4834-3a-timeout.diff, derby-4834-4a-toString_leading_cols.diff
>
>
> Dealing with index statistics in the JUnit tests require some tedious work, like looking
up table and index ids,  doing selects on the SYS.SYSSTATISTICS table, and analyzing the results
of these queries.
> To make life easer and the tests easier to read, a set of utility methods will be added
to a new class living in the JUnit test framework package.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message