mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 14:53:13 +08:00
The test being fixed is flaky and the difference in hash is insufficient
information for us to debug it.
```
Failure/Error: expect(SvgSprite.path(1)).to eq("/svg-sprite/#{Discourse.current_hostname}/svg-1-#{version}.js")
expected: "/svg-sprite/test.localhost/svg-1-d110e8387cd2da5cb435355de1a1f384552374e0.js"
got: "/svg-sprite/test.localhost/svg-1-f6c1243dedd2c8296ca6581fe5610047a0d9ba16.js"
(compared using ==)
./spec/lib/svg_sprite/svg_sprite_spec.rb:21:in `block (2 levels) in <main>'
./spec/rails_helper.rb:704:in `block (3 levels) in <top (required)>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/benchmark-0.4.1/lib/benchmark.rb:305:in `measure'
./spec/rails_helper.rb:704:in `block (2 levels) in <top (required)>'
./spec/rails_helper.rb:662:in `block (3 levels) in <top (required)>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/timeout-0.4.3/lib/timeout.rb:185:in `block in timeout'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/timeout-0.4.3/lib/timeout.rb:192:in `timeout'
./spec/rails_helper.rb:652:in `block (2 levels) in <top (required)>'
./spec/rails_helper.rb:609:in `block (2 levels) in <top (required)>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/webmock-3.25.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
```
|
||
|---|---|---|
| .. | ||
| svg_sprite_spec.rb | ||