Lewis John McGibbney created NUTCH-2208:
-------------------------------------------
Summary: Fix 4 skipped tests in TestGenerator
Key: NUTCH-2208
URL: https://issues.apache.org/jira/browse/NUTCH-2208
Project: Nutch
Issue Type: Test
Components: generator, test
Affects Versions: 2.3.1
Reporter: Lewis John McGibbney
Priority: Critical
Fix For: 2.4
Right now we @Ignore 4 tests within
[TestGenerator|https://github.com/apache/nutch/blob/2.x/src/test/org/apache/nutch/crawl/TestGenerator.java],
with the following annotations
{code}
@Ignore("GORA-240 Tests for MemStore")
{code}
If I remove these annotations and run the tests I get the following
{code}
Testcase: testGenerateDomainLimit took 3.724 sec
FAILED
expected:<1> but was:<0>
junit.framework.AssertionFailedError: expected:<1> but was:<0>
at
org.apache.nutch.crawl.TestGenerator.testGenerateDomainLimit(TestGenerator.java:217)
Testcase: testGenerateOnlySitemap took 4.275 sec
Testcase: testGenerateHostLimit took 1.929 sec
FAILED
expected:<1> but was:<0>
junit.framework.AssertionFailedError: expected:<1> but was:<0>
at
org.apache.nutch.crawl.TestGenerator.testGenerateHostLimit(TestGenerator.java:160)
Testcase: testGenerateNoneSitemap took 11.104 sec
Testcase: testFilter took 4.206 sec
FAILED
expected:<3> but was:<0>
junit.framework.AssertionFailedError: expected:<3> but was:<0>
at
org.apache.nutch.crawl.TestGenerator.testFilter(TestGenerator.java:278)
Testcase: testGenerateHighest took 1.922 sec
FAILED
expected:<2> but was:<0>
junit.framework.AssertionFailedError: expected:<2> but was:<0>
at
org.apache.nutch.crawl.TestGenerator.testGenerateHighest(TestGenerator.java:96)
{code}
We need to investigate and address if this is truly related to GORA-240 or not!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)