You are viewing a plain text version of this content. The canonical link for it is here.
Posted to submarine-dev@hadoop.apache.org by "Xun Liu (Jira)" <ji...@apache.org> on 2019/08/28 01:13:00 UTC

[jira] [Commented] (SUBMARINE-152) Automatically switch databases during unit testing

    [ https://issues.apache.org/jira/browse/SUBMARINE-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917332#comment-16917332 ] 

Xun Liu commented on SUBMARINE-152:
-----------------------------------

h3. What is this PR for?

The submarine workbench runs on a mysql database.
When running unit tests, it is easy to cause data foreign key conflicts.
So use a separate mysql database for unit testing and travis testing.
h3. What type of PR is it?

Improvement
h3. What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-152
h3. How should this be tested?

[https://travis-ci.org/liuxunorg/submarine/builds/577286927]
h3. Screenshots (if appropriate)
h3. Questions:
 * Does the licenses files need update? No
 * Is there breaking changes for older versions? No
 * Does this needs documentation? Yes

> Automatically switch databases during unit testing
> --------------------------------------------------
>
>                 Key: SUBMARINE-152
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-152
>             Project: Hadoop Submarine
>          Issue Type: Sub-task
>            Reporter: Xun Liu
>            Assignee: Xun Liu
>            Priority: Major
>              Labels: submarine-external-repo
>
> The submarine workbench runs on a mysql database.
> When running unit tests, it is easy to cause data foreign key conflicts.
> So use a separate mysql database for unit testing and travis testing.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)