• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

projectblacklight / spotlight / 4976
41%
master: 97%

Build:
Build:
LAST BUILD BRANCH: 298-indexing-job-summary
DEFAULT BRANCH: master
Ran 01 Feb 2017 10:10PM UTC
Jobs 2
Files 125
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4976

push

travis-ci

jmartin-sul
refactor Spotlight::Resource reindexing stats tracking and the Spotlight::ReindexProgress that used to use it

* refactor the way Spotlight::Resource tracks indexing stats
  * add items_reindexed_estimate field to create_spotlight_reindexing_log_entries migration
  * resource.rb: refactor Spotlight::Resource#reindex so that it takes an optional ReindexingLogEntry; use the log entry to track the stats that Resource used to keep on itself.  remove unused methods.  update tests.
  * reindex_job.rb: use before_perform hook to update items_reindexed_estimate on the reindexing log entry, if there is one.  pass the log entry to resource.reindex.  add tests.
* refactor Spotlight::ReindexProgress to get a ReindexingLogEntry from an Exhibit, instead of dealing with a Resource list
  * refactor Spotlight::ReindexProgress so that it takes a Spotlight::Exhibit (instead of a Resource list), and uses the current ReindexingLogEntry from the Exhibit (if there is one).  fix Exhibit's call to ReindexProgress and have it initialize the log entries it creates to 0. update exhibit_spec.rb.
    * rewrite reindex_progress_spec.rb
  * reindex_monitor_spec.rb: fix the simulation of a recent reindexing job, slightly relax expectations for reindexing progress text to accommodate multi-digit numbers

31 of 31 new or added lines in 4 files covered. (100.0%)

3019 of 3125 relevant lines covered (96.61%)

454.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4976.1 (2.4.0) 01 Feb 2017 10:13PM UTC 0
96.29
Travis Job 4976.1
2 4976.2 (2.3.3, RAILS_VERSION=4.2.7.1) 01 Feb 2017 10:10PM UTC 0
96.19
Travis Job 4976.2
Source Files on build 4976
  • Tree
  • List 0
  • Changed 26
  • Source Changed 4
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #4976
  • aa62b091 on github
  • Prev Build on 298-indexing-job-summary (#4897)
  • Next Build on 298-indexing-job-summary (#4984)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc