Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Description on running unit tests.
Browse files Browse the repository at this point in the history
Summary:
Description on running unit tests on MySQL.

Test Plan:

Reviewers:

CC:

Task ID: #

Blame Rev:
  • Loading branch information
dhruba committed Feb 25, 2013
1 parent eb8400f commit e9c7573
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,5 +440,14 @@ comprehensive verification of your implementation. In particular,
they do not try to verify the atomicity, consistency or durability
properties of the implementation.

The MySQL related unit tests are run against a test database that needs
setting up before running the unit tests. The default settings for this
test database are hardcoded in src/test/java/com/facebook/LinkBench/MySqlTestConfig.java.
The default settings uses localhost:3306 to connect to the database and
uses username "linkbench" and password "linkbench". The unit test code
creates all the required tables, so the developer needs to setup a
MySql database called "linkbench_unittestdb" to which the linkbench user
has permissions to create and drop tables.

**If you implement a plugin for a new database, please consider contributing
it back to the main LinkBench distribution with a pull request.**

0 comments on commit e9c7573

Please sign in to comment.