Investigate possible test bug occurring around midnight
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- ruby
- Ambito
- testing-qa
Direzione di ricerca
Start with spec/models/exercise_spec.rb:182 and run the failing exercise submittability example, paying attention to its behavior around midnight. Trace Exercise#submittable_by? and the deadline-related setup to determine whether the test timing or the implementation is responsible; done means the source of the failure is identified and the behavior is covered reliably.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Investigate possible test bug occurring around midnight
- Exercise should be submittable by non-administrators only if the deadline has not passed and the exercise is not hidden and is published
Failure/Error: Unable to find matching line from backtrace
expected#<Exercise id: 184, name: "exercise127", created_at: "2015-06-01 21:45:30", updated_at: "2015-06-01 21:45:30", course_id: 202, publish_time: "2015-06-01 21:00:00", gdocs_sheet: "exercise155", hidden: false, returnable_forced: true, checksum: "", solution_visible_after: nil, has_tests: false, deadline_spec: nil, unlock_spec: nil, runtime_params: "[]", valgrind_strategy: nil, code_review_requests_enabled: false, run_tests_locally_action_enabled: true>.submittable_by?(#<User id: 156, login: "user287", password_hash: "bd135f372a1a9fafc1c4d17176f6a3c6920c2172c68dbbfa45...", created_at: "2015-06-01 21:45:30", updated_at: "2015-06-01 21:45:30", salt: "3ba9963223ffd2bce9166570377c40e41e1520b7f7f57f389d...", administrator: false, email: "user344@example.com", legitimate_student: true>)to return false, got true
# /home/tmc/tmc-server/spec/models/exercise_spec.rb:182:in `block (2 levels) in <top (required)>'
- Lingua principale
- Ruby
- Stelle
- 51
- Fork
- 42
- Merge medio
- 1h 27m
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
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 testmycode/tmc-server
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
testmycode/tmc-server#590 ·
-
Exercise Submission Failed Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
testmycode/tmc-server#576 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
testmycode/tmc-server#488 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
testmycode/tmc-server#487 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
testmycode/tmc-server#477 · 2 commenti ·
Tutte le issue di testmycode/tmc-server
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