Navigation Menu

Skip to content

Commit

Permalink
Remove needless code just for test
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 14, 2014
1 parent d50a06c commit a525d4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 1 addition & 3 deletions lib/fluent/plugin/out_droonga.rb
Expand Up @@ -41,9 +41,7 @@ def start

def shutdown
@engine.shutdown
if @catalog_observer
@catalog_observer.stop
end
@catalog_observer.stop
super
end

Expand Down
4 changes: 4 additions & 0 deletions test/unit/test_output.rb
Expand Up @@ -60,6 +60,10 @@ def start
@engine = Engine.new(@response)
end

def shutdown
@engine.shutdown
end

def create_logger(tag, options)
Logger.new(tag, options)
end
Expand Down

0 comments on commit a525d4d

Please sign in to comment.