aboutsummaryrefslogtreecommitdiff
path: root/tests/load/driver.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-03-14 14:38:45 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-03-17 12:59:35 +0300
commit0b6b57f9acaa2ec648bf582ff67851331f8e6eef (patch)
tree7ce5da6a1c37f3674762d5514b0a34bf05e38df7 /tests/load/driver.cxx
parent637d5650b91cb1da2605e5f7049ccc8bab5591f3 (diff)
Use serializable transaction isolation level
Diffstat (limited to 'tests/load/driver.cxx')
-rw-r--r--tests/load/driver.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx
index bb46033..c2907b6 100644
--- a/tests/load/driver.cxx
+++ b/tests/load/driver.cxx
@@ -84,7 +84,13 @@ main (int argc, char* argv[])
// Check persistent objects validity.
//
- odb::pgsql::database db ("", "", "brep", argv[3], stoul (argv[5]));
+ odb::pgsql::database db (
+ "",
+ "",
+ "brep",
+ argv[3],
+ stoul (argv[5]),
+ "options='-c default_transaction_isolation=serializable'");
{
session s;