sul-dlss/sw_index_tests — pull request #68 by lmcglohon (2014-12-01 19:57:44+00:00)
Title: Fixed failures by increasing have_at_most value and increasing in the first value

1) advanced search subject and keyword subject -congresses, keyword IEEE xplore keyword
Failure/Error: resp.should have_at_most(9000).results
expected at most 9000 results, got 9010
# ./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 2010
Failure/Error: resp.should have_at_most(137800).results
expected at most 137800 results, got 137815
# ./spec/advanced_search_spec.rb:340:in `block (4 levels) in '

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

4) advanced search facets format video, location green, language english before topics selected
Failure/Error: resp.should have_at_most(35650).results
expected at most 35650 results, got 35652
# ./spec/advanced_search_spec.rb:403:in `block (4 levels) in '

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

2) Author-Title Search Beethoven piano sonata no 14
Failure/Error: resp.should have_at_most(200).documents
expected at most 200 documents, got 201
# ./spec/author_title_spec.rb:90:in `block (2 levels) in '

3) CJK Advanced Search Publication Info Unigram Place: 津 (no Tsu term): num expected
Failure/Error: resp.should have_at_most(3500).documents # 6560 match everything search
expected at most 3500 documents, got 3501
# ./spec/cjk/cjk_advanced_search_spec.rb:79:in `block (4 levels) in '

4) Series Search Cahiers series everything search, phrase
Failure/Error: resp.should include(@exp_ids)
expected {"responseHeader"=>{"status"=>0, "QTime"=>432, "params"=>{"facet"=>"false", "fl"=>"id", "q"=>"\"Cahiers series\"", "testing"=>"sw_index_test", "wt"=>"ruby"}}, "response"=>{"numFound"=>73, "start"=>0, "docs"=>[{"id"=>"415109"}, {"id"=>"364370"}, {"id"=>"462003"}, {"id"=>"481052"}, {"id"=>"364374"}, {"id"=>"364369"}, {"id"=>"364368"}, {"id"=>"450322"}, {"id"=>"453971"}, {"id"=>"364373"}, {"id"=>"364371"}, {"id"=>"421148"}, {"id"=>"3967278"}, {"id"=>"467845"}, {"id"=>"423280"}, {"id"=>"8787894"}, {"id"=>"10594504"}, {"id"=>"7597710"}, {"id"=>"10192127"}, {"id"=>"10436929"}]}} to include ["9249698", "7597710", "10192127"]
Diff:
@@ -1,2 +1,34 @@
-[["9249698", "7597710", "10192127"]]
+{"responseHeader"=>
+ {"status"=>0,
+ "QTime"=>432,
+ "params"=>
+ {"facet"=>"false",
+ "fl"=>"id",
+ "q"=>"\"Cahiers series\"",
+ "testing"=>"sw_index_test",
+ "wt"=>"ruby"}},
+ "response"=>
+ {"numFound"=>73,
+ "start"=>0,
+ "docs"=>
+ [{"id"=>"415109"},
+ {"id"=>"364370"},
+ {"id"=>"462003"},
+ {"id"=>"481052"},
+ {"id"=>"364374"},
+ {"id"=>"364369"},
+ {"id"=>"364368"},
+ {"id"=>"450322"},
+ {"id"=>"453971"},
+ {"id"=>"364373"},
+ {"id"=>"364371"},
+ {"id"=>"421148"},
+ {"id"=>"3967278"},
+ {"id"=>"467845"},
+ {"id"=>"423280"},
+ {"id"=>"8787894"},
+ {"id"=>"10594504"},
+ {"id"=>"7597710"},
+ {"id"=>"10192127"},
+ {"id"=>"10436929"}]}}

# ./spec/series_search_spec.rb:43:in `block (3 levels) in '

5) Tests for synonyms.txt used by Solr SynonymFilterFactory programming languages C# (also musical key) professional C#
Failure/Error: resp.should have_at_most(250).documents
expected at most 250 documents, got 253
# ./spec/synonym_spec.rb:137:in `block (4 levels) in '