Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
test viable jruby aware units
Browse files Browse the repository at this point in the history
  • Loading branch information
//de committed May 8, 2015
1 parent 30b7ee6 commit ed97b9f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 6 additions & 4 deletions spec/celluloid/io/unix_server_spec.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
require 'spec_helper'

describe Celluloid::IO::UNIXServer do
describe "#accept" do

before do
pending "JRuby support" if RUBY_PLATFORM == 'java'
end
before(:each) do
pending "jRuby support" if RUBY_PLATFORM == 'java'
fail "Avoid potential deadlock under jRuby"
end

describe "#accept" do

let(:payload) { 'ohai' }

Expand Down
5 changes: 3 additions & 2 deletions spec/celluloid/io/unix_socket_spec.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
require 'spec_helper'

describe Celluloid::IO::UNIXSocket do
before do
pending "JRuby support" if RUBY_PLATFORM == 'java'
before(:each) do
pending "jRuby support" if RUBY_PLATFORM == 'java'
fail "Avoid potential deadlock under jRuby"
end

let(:payload) { 'ohai' }
Expand Down

0 comments on commit ed97b9f

Please sign in to comment.