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

lufeng updated NUTCH-1645:
--------------------------

    Attachment: NUTCH-1645-v3.patch

1. add an implementation of reaches a lower number of misses would cause the 
test to fail
2. improve the code style 

yes, you are right, this unit test only check for the equality of some "key 
statistics" as you said. But the problem is how to write test case to verify 
the correctness of some algorithms in Nutch like AdaptiveFetchSchedule class 
and find the bug that you pointed in (NUTCH-1564)? Could you give me some 
suggestions. and I will check the NUTCH-1564 and hope to find a solution to 
this issue.

Thanks Sebastian

> Junit Test Case for Adaptive Fetch Schedule class
> -------------------------------------------------
>
>                 Key: NUTCH-1645
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1645
>             Project: Nutch
>          Issue Type: Test
>    Affects Versions: 2.2.1
>            Reporter: Talat UYARER
>            Priority: Minor
>             Fix For: 2.3
>
>         Attachments: NUTCH-1645.patch, NUTCH-1645-v2.patch, 
> NUTCH-1645-v3.patch
>
>
> Currently there is not Test Case for Adaptive Fetch Schedule. Junit test 
> Writes for its. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to