public
Rubygem
Description: Don't mind this, go to http://github.com/integrity/integrity
Homepage: http://integrityapp.com
Clone URL: git://github.com/foca/integrity.git
Revert "protection against eventual notifiers timeout error"

This reverts commit c969e8cae2aecd82a281016e02c2ef61b2a9b673.
sr (author)
Thu Nov 20 12:02:17 -0800 2008
commit  f14f9b360d9d68cf987994ed3617fbce25e5cd1d
tree    4571d65319a5f533b3075a38332b8d928893fe1f
parent  c969e8cae2aecd82a281016e02c2ef61b2a9b673
...
12
13
14
15
16
17
18
...
12
13
14
 
15
16
17
0
@@ -12,7 +12,6 @@ require 'dm-aggregates'
0
 require 'yaml'
0
 require 'logger'
0
 require 'digest/sha1'
0
-require 'timeout'
0
 
0
 require "core_ext/object"
0
 require "core_ext/string"
...
2
3
4
5
6
7
 
8
9
10
...
2
3
4
 
 
 
5
6
7
8
0
@@ -2,9 +2,7 @@ module Integrity
0
   class Notifier
0
     class Base
0
       def self.notify_of_build(build, config)
0
-        Timeout.timeout(6) do
0
-          new(build, config).deliver!
0
-        end
0
+        new(build, config).deliver!
0
       end
0
 
0
       def self.to_haml
...
32
33
34
35
36
37
38
39
40
41
42
43
...
32
33
34
 
 
 
 
 
 
35
36
37
0
@@ -32,12 +32,6 @@ describe Integrity::Notifier::Base do
0
       notifier.should_receive(:deliver!)
0
       klass.notify_of_build(mock_build, notifier_config)
0
     end
0
-
0
-    it "should protect itself from timeout" do
0
-      lambda do
0
-        notifier.stub!(:deliver!).and_raise(Timeout::Error)
0
-      end.should_not raise_error
0
-    end
0
   end
0
   
0
   describe "generating the config form" do

Comments