Truffleruby test failure in test_performance_warning(TC_OpenStruct)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- ruby
- Ambito
- testing-qa
Direzione di ricerca
Inizia da test/ostruct/test_ostruct.rb in test_performance_warning(TC_OpenStruct), poi riproduci il fallimento su TruffleRuby ed esamina l’asserzione su stderr. Il lavoro è completato quando il test non fallisce più a causa dell’avviso imprevisto di rubygems.rb, continuando comunque a verificare l’avviso sulle prestazioni di OpenStruct.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
There is a current test failure on TruffleRuby, in the test test_performance_warning(TC_OpenStruct).
===============================================================================
Failure: test_performance_warning(TC_OpenStruct):
pid 1875 exit 0
| /home/runner/.rubies/truffleruby-24.1.1/lib/mri/rubygems.rb:1207: warning: unstable interpolated regexps cause deoptimization loops which hurt performance significantly, avoid creating regexps dynamically where possible or cache them to fix this
| -e:1: warning: OpenStruct use is discouraged for performance reasons
.
1. [2/3] Assertion for "stderr"
| <["-e:1: warning: OpenStruct use is discouraged for performance reasons"]> expected but was
| <["/home/runner/.rubies/truffleruby-24.1.1/lib/mri/rubygems.rb:1207: warning: unstable interpolated regexps cause deoptimization loops which hurt performance significantly, avoid creating regexps dynamically where possible or cache them to fix this",
| "-e:1: warning: OpenStruct use is discouraged for performance reasons"]>.
|
| diff:
| + ["/home/runner/.rubies/truffleruby-24.1.1/lib/mri/rubygems.rb:1207: warning: unstable interpolated regexps cause deoptimization loops which hurt performance significantly, avoid creating regexps dynamically where possible or cache them to fix this",
| - ["-e:1: warning: OpenStruct use is discouraged for performance reasons"]
| ? ^
| + "-e:1: warning: OpenStruct use is discouraged for performance reasons"]
| ? ^
|
| folded diff:
| + ["/home/runner/.rubies/truffleruby-24.1.1/lib/mri/rubygems.rb:1207: warning: u
| + nstable interpolated regexps cause deoptimization loops which hurt performance
| + significantly, avoid creating regexps dynamically where possible or cache the
| + m to fix this",
| - ["-e:1: warning: OpenStruct use is discouraged for performance reasons"]
| ? ^
| + "-e:1: warning: OpenStruct use is discouraged for performance reasons"]
| ? ^.
<false> is not true.
/home/runner/work/ostruct/ostruct/vendor/bundle/truffleruby/3.2.4.24.1.0.1/gems/test-unit-ruby-core-1.0.6/lib/core_assertions.rb:540:in `assert'
/home/runner/work/ostruct/ostruct/vendor/bundle/truffleruby/3.2.4.24.1.0.1/gems/test-unit-ruby-core-1.0.6/lib/core_assertions.rb:774:in `assert_all_assertions'
/home/runner/work/ostruct/ostruct/vendor/bundle/truffleruby/3.2.4.24.1.0.1/gems/test-unit-ruby-core-1.0.6/lib/core_assertions.rb:110:in `assert_in_out_err'
/home/runner/work/ostruct/ostruct/test/ostruct/test_ostruct.rb:425:in `test_performance_warning'
- Lingua principale
- Ruby
- Stelle
- 175
- Fork
- 35
- Merge medio
- 16h 14m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ruby/ostruct
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
new warning with ruby 3.4 Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di ruby/ostruct
Issue simili
-
user-reported
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Kong/developer.konghq.com#7316 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
TheOdinProject/curriculum#31408 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
notch8/utk_knapsack#148 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
Homebrew/homebrew-cask#288729 · 1 commento ·
-
Test `FileUtils.options_of` Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100