describe "ServiceDirectory" do it_should_behave_like "AppSwarm Test" it "should register a service" do t=NetworkTestBed.new(10) t.runOnOne("Master") sleepDebug 0.2 t.run("UdpNetwork","DirectoryService") loop do incomplete=false t.eachApp(:fullNetworkNode){|app| incomplete=true if app.knownNodes.length 0 } found.should==true t.stop end end