[
https://issues.apache.org/jira/browse/NUTCH-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053592#comment-14053592
]
Julien Nioche commented on NUTCH-1502:
--------------------------------------
great stuff! I'd rename the *TODO class into
org.apache.nutch.crawl.TODOTestCrawlDbStates: this way it will not get included
in the test suite. It currently fails as the corresponding issues are not fixed.
> Test for CrawlDatum state transitions
> -------------------------------------
>
> Key: NUTCH-1502
> URL: https://issues.apache.org/jira/browse/NUTCH-1502
> Project: Nutch
> Issue Type: Improvement
> Components: crawldb
> Affects Versions: 1.7, 2.2
> Reporter: Sebastian Nagel
> Fix For: 2.4, 1.9
>
> Attachments: NUTCH-1502-trunk-v1.patch
>
>
> An exhaustive test to check the matrix of CrawlDatum state transitions
> (CrawlStatus in 2.x) would be useful to detect errors esp. for continuous
> crawls where the number of possible transitions is quite large. Additional
> factors with impact on state transitions (retry counters, static and dynamic
> intervals) are also tested.
> The tests will help to address the NUTCH-578 and NUTCH-1245. See the latter
> for a first sketchy patch.
--
This message was sent by Atlassian JIRA
(v6.2#6252)