Sha256: c5575bb80930761198c13efc023aaac5bc803fd9be71856803533d848e05aeaa

Contents?: true

Size: 1.31 KB

Versions: 4

Compression:

Stored size: 1.31 KB

Contents

Feature: delivery_method configuration option

Scenario: When the delivery_method is set to :synchronous
  When I run the service "plain-ruby" with the command "bundle exec ruby delivery/synchronous.rb"
  And I wait to receive a request
  Then the request is valid for the error reporting API version "4.0" for the "Ruby Bugsnag Notifier"
  And the event "metaData.config" matches the JSON fixture in "features/fixtures/plain/json/delivery_synchronous.json"

Scenario: When the delivery_method is set to :thread_queue
  When I run the service "plain-ruby" with the command "bundle exec ruby delivery/threadpool.rb"
  And I wait to receive a request
  Then the request is valid for the error reporting API version "4.0" for the "Ruby Bugsnag Notifier"
  And the event "metaData.config" matches the JSON fixture in "features/fixtures/plain/json/delivery_threadpool.json"

Scenario: When the delivery_method is set to :thread_queue in a fork
  When I run the service "plain-ruby" with the command "bundle exec ruby delivery/fork_threadpool.rb"
  And I wait to receive 2 requests
  Then the request is valid for the error reporting API version "4.0" for the "Ruby Bugsnag Notifier"
  And the exception "errorClass" equals "RuntimeError"
  And the event "metaData.config" matches the JSON fixture in "features/fixtures/plain/json/delivery_fork.json"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/plain_features/delivery.feature
bugsnag-6.14.0 features/plain_features/delivery.feature
bugsnag-6.13.1 features/plain_features/delivery.feature
bugsnag-6.13.0 features/plain_features/delivery.feature