nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NUTCH-2208) Fix 4 skipped tests in TestGenerator
Date Tue, 26 Jan 2016 19:24:39 GMT

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

Lewis John McGibbney updated NUTCH-2208:
----------------------------------------
    Attachment: TEST-org.apache.nutch.crawl.TestGenerator.txt

Attached is full test log with @Ignore annotations removed.

> 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
>
>         Attachments: TEST-org.apache.nutch.crawl.TestGenerator.txt
>
>
> 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)

Mime
View raw message