Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Description on running unit tests.

Description on running unit tests on MySQL.

Test Plan:



Task ID: #

Blame Rev:
  • Loading branch information...
commit e9c757302c0360d73bbab5cdac003451162b7bee 1 parent eb8400f
@dhruba dhruba authored
Showing with 9 additions and 0 deletions.
  1. +9 −0
@@ -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/
+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.**
Please sign in to comment.
Something went wrong with that request. Please try again.