[jira] [Updated] (NUTCH-1645) Junit Test Case for Adaptive Fetch Schedule class
[ https://issues.apache.org/jira/browse/NUTCH-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lewis John McGibbney updated NUTCH-1645: Assignee: Sertac TURKEL > 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 >Assignee: Sertac TURKEL >Priority: Minor > Fix For: 2.3, 1.9 > > Attachments: NUTCH-1645-trunk-v1.patch, NUTCH-1645-v2.patch, > NUTCH-1645-v3.patch, NUTCH-1645-v4.patch, NUTCH-1645-v5.patch, > NUTCH-1645.patch > > > Currently there is not Test Case for Adaptive Fetch Schedule. Junit test > Writes for its. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (NUTCH-1645) Junit Test Case for Adaptive Fetch Schedule class
[ https://issues.apache.org/jira/browse/NUTCH-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebastian Nagel updated NUTCH-1645: --- Attachment: NUTCH-1645-trunk-v1.patch Patch for trunk, requires NUTCH-1737. > 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-trunk-v1.patch, NUTCH-1645-v2.patch, > NUTCH-1645-v3.patch, NUTCH-1645-v4.patch, NUTCH-1645-v5.patch, > NUTCH-1645.patch > > > Currently there is not Test Case for Adaptive Fetch Schedule. Junit test > Writes for its. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (NUTCH-1645) Junit Test Case for Adaptive Fetch Schedule class
[ https://issues.apache.org/jira/browse/NUTCH-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebastian Nagel updated NUTCH-1645: --- Attachment: NUTCH-1645-v5.patch Thanks, [~msertacturkel]! Looks good now. I couldn't resist to move {{p.setFetchInterval(interval)}} from testValues/validateFetchInterval, see attached patch v5. > 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-v2.patch, NUTCH-1645-v3.patch, > NUTCH-1645-v4.patch, NUTCH-1645-v5.patch, NUTCH-1645.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.5#6160)
[jira] [Updated] (NUTCH-1645) Junit Test Case for Adaptive Fetch Schedule class
[ https://issues.apache.org/jira/browse/NUTCH-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sertac TURKEL updated NUTCH-1645: - Attachment: (was: NUTCH-1645-v4.patch) > 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-v2.patch, NUTCH-1645-v3.patch, > NUTCH-1645.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.5#6160)
[jira] [Updated] (NUTCH-1645) Junit Test Case for Adaptive Fetch Schedule class
[ https://issues.apache.org/jira/browse/NUTCH-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sertac TURKEL updated NUTCH-1645: - Attachment: NUTCH-1645-v4.patch Hi [~lewismc], I took into [~wastl-nagel] 's comment and I updated the patch file. Could you review again? > 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-v2.patch, NUTCH-1645-v3.patch, > NUTCH-1645-v4.patch, NUTCH-1645.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.5#6160)
[jira] [Updated] (NUTCH-1645) Junit Test Case for Adaptive Fetch Schedule class
[ https://issues.apache.org/jira/browse/NUTCH-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] msertacturkel updated NUTCH-1645: - Attachment: NUTCH-1645-v4.patch I prepared a patch according to 2.x branch. The patch controls Adaptive Fetch Time. Could you check my patch? > 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-v2.patch, NUTCH-1645-v3.patch, > NUTCH-1645-v4.patch, NUTCH-1645.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.5#6160)
[jira] [Updated] (NUTCH-1645) Junit Test Case for Adaptive Fetch Schedule class
[ 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)
[jira] [Updated] (NUTCH-1645) Junit Test Case for Adaptive Fetch Schedule class
[ https://issues.apache.org/jira/browse/NUTCH-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] lufeng updated NUTCH-1645: -- Attachment: NUTCH-1645-v2.patch add two test case, one is use default parameters and another without open sync delta. thanks Yasin, you can add another test case with some parameter change. > 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 > > > 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)
[jira] [Updated] (NUTCH-1645) Junit Test Case for Adaptive Fetch Schedule class
[ https://issues.apache.org/jira/browse/NUTCH-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yasin Kılınç updated NUTCH-1645: Attachment: NUTCH-1645.patch I ported from Nutch 1.x > 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 > > > 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)