[dna-issues] [JBoss JIRA] Updated: (DNA-623) JDBC Metadata TCK Test Failing in Nightly Integration Build
Brian Carothers (JIRA)
jira-events at lists.jboss.org
Tue Jan 5 19:34:30 EST 2010
[ https://jira.jboss.org/jira/browse/DNA-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Carothers updated DNA-623:
--------------------------------
Attachment: DNA-623.patch
Now that the query tests are enabled, the TCK test is running XPathPosIndexTest against all of the connectors. This test has a written prerequisite (in Javadoc) that the root node have at least 3 child nodes named the same as the value of the "nodeName1" property. However, the test checks for a different precondition (more than three child nodes in total).
Since the JDBC Metadata connector doesn't support same-name siblings, it cannot meet the written prerequisite, but the configured root node did have more than 3 child nodes. So the test tried to execute, but the query (which ended in [2]) couldn't possibly return values from this connector.
The attached patch moves the root for the test cases to a node that only has two children, effectively bypassing this test[1]. This is actually better for most other tests since it moves the test root closer to the actual root of the repository and exposes more nodes to TCK testing. I tried to do this originally when I added the connector, but the performance was too slow.
[1] - This is why the FileSystemRepositoryTCKTest didn't also break. Although it doesn't support SNS either, the root node happened to only have two children so this test was effectively bypassed for that connector as well.
> JDBC Metadata TCK Test Failing in Nightly Integration Build
> -----------------------------------------------------------
>
> Key: DNA-623
> URL: https://jira.jboss.org/jira/browse/DNA-623
> Project: DNA
> Issue Type: Bug
> Affects Versions: 0.6
> Reporter: Brian Carothers
> Assignee: Brian Carothers
> Fix For: 0.7
>
> Attachments: DNA-623.patch
>
>
> The JDBC Metadata TCK test has one failure in the NI build.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the dna-issues
mailing list