https://redmine.dataone.org/https://redmine.dataone.org/favicon.ico2019-02-13T19:20:41ZDataONE TasksInfrastructure - Decision #8765: Consider changing how BaseSolrFieldXPathTest workshttps://redmine.dataone.org/issues/8765?journal_id=312152019-02-13T19:20:41ZBryce Mecummecum@nceas.ucsb.edu
<ul></ul><p>Brought this up on Slack and got feedback from Jing, Rob, and Dave. Majority was in favor of (2). I'll start on that today.</p>
Infrastructure - Decision #8765: Consider changing how BaseSolrFieldXPathTest workshttps://redmine.dataone.org/issues/8765?journal_id=312162019-02-13T19:21:01ZBryce Mecummecum@nceas.ucsb.edu
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>30</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li><li><strong>Assignee</strong> set to <i>Bryce Mecum</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul> Infrastructure - Decision #8765: Consider changing how BaseSolrFieldXPathTest workshttps://redmine.dataone.org/issues/8765?journal_id=312182019-02-14T00:39:31ZBryce Mecummecum@nceas.ucsb.edu
<ul><li><strong>% Done</strong> changed from <i>30</i> to <i>100</i></li><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li></ul><p>I started swapping out the separators from #/## to && and ran into an edge case where some assertions needed to test multiple URLs with trialing & symbols (weird), like "<a href="http://example.com/ASDF&">http://example.com/ASDF&</a>" which would make the assertion "<a href="http://example.com/ASDF&&&http://example.com/ASDF">http://example.com/ASDF&&&http://example.com/ASDF</a>" which doesn't split properly. I decided to try <code><></code> instead, first confirming no test assertions include that string and things look all good now.</p>
<p>I think the switch is probably pretty agreeable to people but let me know if it isn't.</p>