sul-dlss/sw_index_tests — pull request #43 by lmcglohon (2014-09-04 12:40:43+00:00)
Title: Fixed multiple failing tests: increased have_at_most values

@ndushay

1) advanced search subject and keyword subject -congresses, keyword IEEE xplore keyword
Failure/Error: resp.should have_at_most(8700).results
expected at most 8700 results, got 8750
# ./spec/advanced_search_spec.rb:113:in `block (4 levels) in '

2) advanced search pub info subject 'soviet union and historiography' and pub info '1910-1911 pub info 2011
Failure/Error: resp.should have_at_most(125500).results
expected at most 125500 results, got 125595
# ./spec/advanced_search_spec.rb:344:in `block (4 levels) in '

3) Author-Title Search Beethoven violin concerto
Failure/Error: resp.should have_at_most(175).documents
expected at most 175 documents, got 180
# ./spec/author_title_spec.rb:19:in `block (2 levels) in '

4) Chinese Everything history research no spaces behaves like both scripts get expected result size everything search has between 5200 and 5515 results
Failure/Error: resp.should have_at_most(max).results
expected at most 5515 results, got 5521
Shared Example Group: "both scripts get expected result size" called from ./spec/cjk/chinese_everything_spec.rb:48
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

5) Chinese Everything history research no spaces behaves like both scripts get expected result size everything search has between 5200 and 5515 results
Failure/Error: resp.should have_at_most(max).results
expected at most 5515 results, got 5521
Shared Example Group: "both scripts get expected result size" called from ./spec/cjk/chinese_everything_spec.rb:48
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

6) Korean spacing As I listened 귀를 기울이면 (normal spacing) behaves like good results for 귀를 기울이면 behaves like expected result size everything search has between 1 and 15 results
Failure/Error: resp.should have_at_most(max).results
expected at most 15 results, got 16
Shared Example Group: "expected result size" called from ./spec/cjk/korean_spacing_spec.rb:191
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

7) Korean spacing on the borderline 경계에서 (normal spacing) behaves like good results for 경계에서 behaves like good results for query everything search has between 7 and 15 results
Failure/Error: resp.should have_at_most(max).results
expected at most 15 results, got 16
Shared Example Group: "good results for query" called from ./spec/cjk/korean_spacing_spec.rb:233
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

8) Tests for synonyms.txt used by Solr SynonymFilterFactory musical keys sharp keys c# minor
Failure/Error: resp.should have_at_most(1800).documents
expected at most 1800 documents, got 1830
# ./spec/synonym_spec.rb:180:in `block (4 levels) in '

9) Tests for synonyms.txt used by Solr SynonymFilterFactory musical keys sharp keys should not reduce perceived precision for reasonable non-musical searches with x sharp (space) B sharp - title
Failure/Error: resp.should have_at_most(700).documents
expected at most 700 documents, got 705
# ./spec/synonym_spec.rb:271:in `block (5 levels) in '

1) Chinese Han variants 敎 654E (variant) => 教 6559 (std trad) behaves like expected result size title search has between 3500 and 3520 results
Failure/Error: resp.should have_at_most(max).results
expected at most 3520 results, got 3524
Shared Example Group: "expected result size" called from ./spec/cjk/chinese_han_variants_spec.rb:128
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

2) Chinese Han variants 敎 654E (variant) => 教 6559 (std trad) behaves like expected result size title search has between 3500 and 3525 results
Failure/Error: resp.should have_at_most(max).results
expected at most 3525 results, got 3526
Shared Example Group: "expected result size" called from ./spec/cjk/chinese_han_variants_spec.rb:129
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

3) Default Request Handler q of 'Buddhism' should get 8,500-10,650 results
Failure/Error: resp.should have_at_most(10650).documents
expected at most 10650 documents, got 10662
# ./spec/default_req_handler_spec.rb:8:in `block (2 levels) in '

1) Series Search lecture notes in computer science
Failure/Error: resp.should have_at_most(8150).results
expected at most 8150 results, got 8151
# ./spec/series_search_spec.rb:10:in `block (2 levels) in '