You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@predictionio.apache.org by "Donald Szeto (JIRA)" <ji...@apache.org> on 2017/07/27 18:48:00 UTC

[jira] [Assigned] (PIO-56) Unit tests in module core should not require real setup

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

Donald Szeto reassigned PIO-56:
-------------------------------

    Assignee: Lucas Bonatto Miguel

> Unit tests in module core should not require real setup
> -------------------------------------------------------
>
>                 Key: PIO-56
>                 URL: https://issues.apache.org/jira/browse/PIO-56
>             Project: PredictionIO
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.10.0-incubating
>         Environment: Tested with Mac OS X, i7, 8GB
>            Reporter: Lucas Bonatto Miguel
>            Assignee: Lucas Bonatto Miguel
>              Labels: development_environment
>             Fix For: 0.12.0-incubating
>
>
> *This issue affects only developers*
> When downloading the code from github and trying to run the tests of the project core via sbt, one will face an error stating that the METADATA configuration is missing, e.g:
> [ERROR] [Storage$] Required repository (METADATA) configuration is missing.
> [ERROR] [Storage$] There were 1 configuration errors. Exiting.
> It looks like the project predictionio core requires a METADATA datasource (elasticsearch) installed and configured in the developer machine.
> There are some benefits if the project require less external installation/configuration:
>  - Developers would have an easy setup of the environment.
>  - Continuous integration would be easier
> How to reproduce:
>  - Download predictionio from github
>  - In root folder run ./make-distribution.sh
>  - In root folder run sbt core/test



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)