Sha256: 755860b63d7d14f77ffc4e046db40984dfc5eef4d95c82dc39f41c5a74c03717

Contents?: true

Size: 212 Bytes

Versions: 21

Compression:

Stored size: 212 Bytes

Contents

name "ignore errors with count"

# CHECK_ALIVE_TIMEOUT = 5 second
# sleep_plugin 20
# raise errors 

always_start true
ignore_errors 3

collect do
  @errors ||= 1
  raise "error" if @errors < 3
  @error += 1
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
kurchatov-0.4.7 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.4.6 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.4.5 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.4.4 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.4.3 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.4.2 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.4.1 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.3.8 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.3.7 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.3.6 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.3.5 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.3.4 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.3.3 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.3.2 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.3.1 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.3.0 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.2.9 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.2.8 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.2.7 tests/data/plugins/plugin_ignore_errors_with_count.rb_
kurchatov-0.2.6 tests/data/plugins/plugin_ignore_errors_with_count.rb_