/[Search-Estraier]/trunk/t/5_Node.t |
Parent Directory | Revision Log
Links to HEAD: | (view) (annotate) |
Sticky Revision: |
added usage of EST_USER and EST_PASSWD enviroment variables for credentials if they exists (otherwise, it will fallback to admin:admin)
skip tests if estmaster isn't running, optional way to test against remove Hyper Estraier server using: ESTMASTER_URI=http://estraier.example.com:1978 make test
added _clear_info which is called in cases where comands modify stats about node (which will force re-read of those data from Hyper Estraier on next request), explanded test suite
call _set_info to refresh data about node after calling out_doc*
extended node tests
fix interaction of create and croak_on_error, added tests for it
added create and label to new Search::Estraier::Node, so that nodes will be automatically created if needed.
better explanation of 46 nodes limit (with just 1024 file descriptors) in Hyper Estraier.
test whole new ->master API except for shutdown, backup and logrtt (those operations are specific to Hyper Estraier installation and sysadmins might not appreciate tests which mess system services)
fixes and tweaks for master
added Search::Estraier::Node->master to controll estmaster and beginning of tests for it
fix number of tests to skip
test search without results
fix skip count
added tests for get_doc
support 0 sa word_num (if HyperEstraier didn't have time to sync to disk)
fix test if no test2 exists
added node methods admins, guests and links, set_link now refresh info
another fix for last few tests
fix tests without node test1
uri_to_id doesn't croak, even when used with croak_on_error
added $res->hits to get number of hits from estmaster hints
cleanup test
fix number of tests skipped if test node is missing
added hints to return all hints from server
test fix
added croak_on_error
fix to work without Hyper Estraier server installed
tests now check if nodes 'test1' and 'test2' exists, and it they doesn't skip tests which connect to HyperEstraier
added set_link (not working?) and moved debug to option
added set_user
move set_info to private _set_info, added set_snippet_width
search work (Content-type and attributes fix), NodeResult->doc_num now return proper number of hits (and not index of last one which isi doc_num - 1)
cond_to_query needed for search (which is under construction)
added uri_escape where needed, fix edit_doc test
added get_doc_attr and get_doc_attr_by_uri by (again) extending _fetch_doc, fixed etch_doc (typo in name)
added name, label, doc_num, word_num and size properties for which I had to implement set_info.
small tweaks and corrections to tests
uri_to_id and important fix for _fetch_doc
added etch_doc and etch_doc_by_uri by extending _fetch_doc
better error messages, added get_doc and get_doc_by_uri
edit_doc, add massive amount of vertical whitespace to make source more readable
out_doc, out_doc_by_uri
a lot of tuning and fixes, and put_doc which works!
added optional parametar to Node to turn on debugging (which isn't documented and probably won't be because it spits output using warn)
more fun with http
much better error messages
shuttle_url test which fails (and it shouldn't)
status
set_auth
set_timeout
set_url, set_proxy
test
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
ViewVC Help | |
Powered by ViewVC 1.1.26 |