deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: JRuby: Fixed the way we load Sequel JDBC sqlite3 driver in tests
Date Tue, 29 Jan 2013 09:52:08 GMT
Updated Branches:
  refs/heads/master a183640a9 -> 39cf10fb3


JRuby: Fixed the way we load Sequel JDBC sqlite3 driver in tests


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/39cf10fb
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/39cf10fb
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/39cf10fb

Branch: refs/heads/master
Commit: 39cf10fb32fb7916e6b991d17e086edfb204a48a
Parents: a183640
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Tue Jan 29 10:51:29 2013 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Tue Jan 29 10:51:29 2013 +0100

----------------------------------------------------------------------
 server/tests/cimi/db/db_helper.rb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/39cf10fb/server/tests/cimi/db/db_helper.rb
----------------------------------------------------------------------
diff --git a/server/tests/cimi/db/db_helper.rb b/server/tests/cimi/db/db_helper.rb
index bc8bf32..b6a7c73 100644
--- a/server/tests/cimi/db/db_helper.rb
+++ b/server/tests/cimi/db/db_helper.rb
@@ -1,5 +1,7 @@
 # Memory database
 if RUBY_PLATFORM == 'java'
+  require 'jdbc/sqlite3'
+  Jdbc::SQLite3.load_driver
   ENV['DATABASE_LOCATION'] = 'jdbc:sqlite::memory:'
 else
   ENV['DATABASE_LOCATION'] = 'sqlite:/'


Mime
View raw message