Sha256: 7bdef9e0c70cb4053cb0398e5dcecc169fc88fe4d95e23976a037ad9895eac88
Contents?: true
Size: 936 Bytes
Versions: 8
Compression:
Stored size: 936 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') require 'drbqs/server/message.rb' # describe DRbQS::Manage do # before(:all) do # @uri = "druby://:13600" # @ts = drbqs_test_tuple_space(@uri) # @message = DRbQS::Server::Message.new(@ts[:message]) # @manage = DRbQS::Manage.new # end # it "should send exit signal" do # lambda do # @manage.send_exit_signal(@uri) # end.should_not raise_error # @message.get_message.should == [:exit_server] # end # it "should send node exit signal" do # node_id = 100 # lambda do # @manage.send_node_exit_after_task(@uri, node_id) # end.should_not raise_error # @message.get_message.should == [:exit_after_task, node_id] # end # it "should get status" do # dummy_status = "status data" # @ts[:message].write([:status, dummy_status]) # @manage.get_status(@uri).should == dummy_status # end # end
Version data entries
8 entries across 8 versions & 1 rubygems