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

projectblacklight / spotlight / 4976 / 2
41%
master: 97%

Build:
Build:
LAST BUILD BRANCH: 298-indexing-job-summary
DEFAULT BRANCH: master
Ran 01 Feb 2017 10:10PM UTC
Files 125
Run time 8s
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

01 Feb 2017 10:02PM UTC coverage: 96.191% (-0.2%) from 96.379%
2.3.3, RAILS_VERSION=4.2.7.1

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

3005 of 3124 relevant lines covered (96.19%)

228.88 hits per line

Source Files on job 4976.2 (2.3.3, RAILS_VERSION=4.2.7.1)
  • Tree
  • List 0
  • Changed 26
  • Source Changed 4
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4976
  • Travis Job 4976.2
  • aa62b091 on github
  • Prev Job for 2.3.3, RAILS_VERSION=4.2.7.1 on 298-indexing-job-summary (#4897.2)
  • Next Job for 2.3.3, RAILS_VERSION=4.2.7.1 on 298-indexing-job-summary (#4984.2)
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

© 2026 Coveralls, Inc