Skip to content

Commit

Permalink
specs: temporarily use memory queue as a default
Browse files Browse the repository at this point in the history
In an effort to stabilise our specs and reduce the amount of overflow from
each spec to the next, this patch temporarily sets the default queue type
to be the memory queue.

Fixes elastic#9601
  • Loading branch information
yaauie committed May 18, 2018
1 parent 219ebae commit a360dbb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ def puts(payload)
# Some tests mess with the settings. This ensures one test cannot pollute another
LogStash::SETTINGS.reset

LogStash::SETTINGS.set("queue.type", "persisted")
LogStash::SETTINGS.set("queue.page_capacity", 1024 * 1024)
LogStash::SETTINGS.set("queue.max_events", 250)
LogStash::SETTINGS.set("queue.type", "memory")
LogStash::SETTINGS.set("path.data", temp_directory)

example.run
Expand Down

0 comments on commit a360dbb

Please sign in to comment.