crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chao Shi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CRUNCH-341) Move test resources used across multiple modules to crunch-test
Date Tue, 11 Feb 2014 16:23:19 GMT

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

Chao Shi updated CRUNCH-341:
----------------------------

    Attachment: crunch-341.patch

This patch moves duplicated test files to crunch-test. No file content changes.

To make it easier to reviewers, file changes are:

 crunch-contrib/src/it/resources/shakes.txt   |  3667 ---------
 crunch-core/src/it/resources/customers.txt   |     4 -
 crunch-core/src/it/resources/docs.txt        |     6 -
 crunch-core/src/it/resources/letters.txt     |     2 -
 crunch-core/src/it/resources/maugham.txt     | 29112 -----------------------------------------------------------------------
 crunch-core/src/it/resources/orders.txt      |     5 -
 crunch-core/src/it/resources/set1.txt        |     4 -
 crunch-core/src/it/resources/set2.txt        |     3 -
 crunch-core/src/it/resources/shakes.txt      |  3667 ---------
 crunch-core/src/it/resources/urls.txt        |    11 -
 crunch-hbase/src/it/resources/shakes.txt     |  3667 ---------
 crunch-scrunch/src/it/resources/maugham.txt  | 29112 -----------------------------------------------------------------------
 crunch-scrunch/src/it/resources/shakes.txt   |  3667 ---------
 crunch-scrunch/src/it/resources/urls.txt     |    11 -
 crunch-spark/src/it/resources/customers.txt  |     4 -
 crunch-spark/src/it/resources/docs.txt       |     6 -
 crunch-spark/src/it/resources/letters.txt    |     2 -
 crunch-spark/src/it/resources/maugham.txt    | 29112 -----------------------------------------------------------------------
 crunch-spark/src/it/resources/orders.txt     |     5 -
 crunch-spark/src/it/resources/set1.txt       |     4 -
 crunch-spark/src/it/resources/set2.txt       |     3 -
 crunch-spark/src/it/resources/shakes.txt     |  3667 ---------
 crunch-spark/src/it/resources/urls.txt       |    11 -
 crunch-test/src/main/resources/customers.txt |     4 +
 crunch-test/src/main/resources/docs.txt      |     6 +
 crunch-test/src/main/resources/letters.txt   |     2 +
 crunch-test/src/main/resources/maugham.txt   | 29112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 crunch-test/src/main/resources/orders.txt    |     5 +
 crunch-test/src/main/resources/set1.txt      |     4 +
 crunch-test/src/main/resources/set2.txt      |     3 +
 crunch-test/src/main/resources/shakes.txt    |  3667 +++++++++
 crunch-test/src/main/resources/urls.txt      |    11 +


> Move test resources used across multiple modules to crunch-test
> ---------------------------------------------------------------
>
>                 Key: CRUNCH-341
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-341
>             Project: Crunch
>          Issue Type: Bug
>            Reporter: Chao Shi
>         Attachments: crunch-341.patch
>
>
> There are duplicated test resource files in multiple modules. This patch moves them into
crunch-test, which is accessiable in classpath during unit testing.
> chaoshi@vm3 ~/projects/crunch (master) $ find -name shakes.txt
> ./crunch-core/src/it/resources/shakes.txt
> ./crunch-contrib/src/it/resources/shakes.txt
> ./crunch-scrunch/src/it/resources/shakes.txt
> ./crunch-spark/src/it/resources/shakes.txt
> ./crunch-hbase/src/it/resources/shakes.txt
> ./crunch-test/target/classes/shakes.txt



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message