You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2013/03/07 15:13:27 UTC

git commit: Tests: Disable FGCP tests under jRuby

Updated Branches:
  refs/heads/master e2fa1a339 -> e884d128c


Tests: Disable FGCP tests under jRuby

The FGCP drivers curretly errors out under jRuby because
of missing constant: OpenSSL::PKCS12::PKCS12Error

This patch disable FGCP tests until this issue will be resolved
in jruby upstream.


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

Branch: refs/heads/master
Commit: e884d128c334f1fc6aee62a615cbd7024d2f4437
Parents: e2fa1a3
Author: Michal Fojtik <mf...@redhat.com>
Authored: Thu Mar 7 15:12:11 2013 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Thu Mar 7 15:12:11 2013 +0100

----------------------------------------------------------------------
 server/Rakefile |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/e884d128/server/Rakefile
----------------------------------------------------------------------
diff --git a/server/Rakefile b/server/Rakefile
index ec7dd4e..2280861 100644
--- a/server/Rakefile
+++ b/server/Rakefile
@@ -156,6 +156,11 @@ task :test do
   puts "\n[ \033[1;37;mrake test:cimi\33[0m ]\n"
   Rake::Task["test:cimi"].invoke
   DRIVERS.each do |driver|
+    #
+    # FIXME: Skip FGCP tests under jRuby as jRuby openssl lacks
+    #        the OpenSSL::PKCS12::PKCS12Error class
+    #
+    next if RUBY_PLATFORM == 'java' and driver == :fgcp
     puts "\n[ \033[1;37;mrake drivers:#{driver}\33[0m ]\n"
     Rake::Task["test:drivers:#{driver}"].invoke
   end