bugsnag-maze-runner 10.3.2 → 10.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ab0b1075e20f67cc4a64ec2f06109a61a2f620482c0e4f6eb0535635c088a3a
4
- data.tar.gz: 760d36e686f6728c4102b737e7528747feaf5f4ec06db9747314f64aca6b2131
3
+ metadata.gz: a9f4f5640ae4e161c54cb25ee6434f8d319e3c9daea2a40f1546da20a8287f2f
4
+ data.tar.gz: eaec85aa52ffd5c568d454dcc5031053e5450095444b8015bb1d32c0b7d35530
5
5
  SHA512:
6
- metadata.gz: 10107bf874d70d9c36635b44011b218460ec7f922d38edf7fdcbeabe508e9c6150279ff3dda4a88fd3b014b5d7f8b3c489cea3bb4139693e8fb9370edc88b884
7
- data.tar.gz: cca4872bd90d935d8f2b96428e3da16f3ab8860b59555d685d74796588ebcef5f72f71157bd97512e05c1ba6a7e5f979ad0340692b8ccc3a2c7a2f00acda1234
6
+ metadata.gz: bc49e92fad99dc86dcf0c940b016a514b0d12e20dcfd2582606f7b36cfbf57055e0cf6e36a30898d29842a66512b01d676aee7b3be6676dd19d4fcedde65c141
7
+ data.tar.gz: 6b8dae88283d98fc6bee7c485c847425e52117bf40bdc3d51f0fdf3b18c76641c915f9bbbe0e192baa1a8e8f2360a21e50b4962a7237ce39b05a9e4920416aa9
@@ -29,16 +29,24 @@ def assert_received_requests(request_count, list, list_name, precise = true, max
29
29
  count_now >= request_count
30
30
  end
31
31
 
32
+ invalid_requests = Maze::Server.invalid_requests.size_remaining
33
+ invalid_requests_message = if invalid_requests > 0
34
+ "\nNote: #{invalid_requests} invalid requests have been received in this scenario.\n"
35
+ else
36
+ ""
37
+ end
38
+
32
39
  unless received
33
40
  raise Test::Unit::AssertionFailedError.new <<-MESSAGE
34
- Expected #{request_count} #{list_name} but received #{list.size_remaining} within the #{timeout}s timeout.
35
- This could indicate that:
36
- - Bugsnag crashed with a fatal error.
37
- - Bugsnag did not make the requests that it should have done.
38
- - The requests were made, but not deemed to be valid (e.g. missing integrity header).
39
- - The requests made were prevented from being received due to a network or other infrastructure issue.
40
- Please check the Maze Runner and device logs to confirm.)
41
- MESSAGE
41
+ Expected #{request_count} #{list_name} but received #{list.size_remaining} within the #{timeout}s timeout.
42
+ #{invalid_requests_message}
43
+ This could indicate that:
44
+ - Bugsnag crashed with a fatal error.
45
+ - Bugsnag did not make the requests that it should have done.
46
+ - The requests were made, but not deemed to be valid (e.g. missing integrity header).
47
+ - The requests made were prevented from being received due to a network or other infrastructure issue.
48
+ Please check the Maze Runner and device logs to confirm.
49
+ MESSAGE
42
50
  end
43
51
 
44
52
  if precise
data/lib/maze.rb CHANGED
@@ -8,7 +8,7 @@ require_relative 'maze/timers'
8
8
  # providing an alternative to the proliferation of global variables or singletons.
9
9
  module Maze
10
10
 
11
- VERSION = '10.3.2'
11
+ VERSION = '10.4.0'
12
12
 
13
13
  class << self
14
14
  attr_accessor :check, :driver, :internal_hooks, :mode, :start_time, :dynamic_retry, :public_address,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugsnag-maze-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.3.2
4
+ version: 10.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Kirkland
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-09-29 00:00:00.000000000 Z
12
+ date: 2025-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber