"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "t/extstore.t" between
memcached-1.6.14.tar.gz and memcached-1.6.15.tar.gz

About: memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load.

extstore.t  (memcached-1.6.14):extstore.t  (memcached-1.6.15)
skipping to change at line 20 skipping to change at line 20
my $ext_path; my $ext_path;
if (!supports_extstore()) { if (!supports_extstore()) {
plan skip_all => 'extstore not enabled'; plan skip_all => 'extstore not enabled';
exit 0; exit 0;
} }
$ext_path = "/tmp/extstore.$$"; $ext_path = "/tmp/extstore.$$";
my $server = new_memcached("-m 64 -U 0 -o ext_page_size=8,ext_wbuf_size=2,ext_th reads=1,ext_io_depth=2,ext_item_size=512,ext_item_age=2,ext_recache_rate=10000,e xt_max_frag=0.9,ext_path=$ext_path:64m,slab_automove=0,ext_compact_under=1"); my $server = new_memcached("-m 64 -U 0 -o ext_page_size=8,ext_wbuf_size=2,ext_th reads=1,ext_io_depth=2,ext_item_size=512,ext_item_age=2,ext_recache_rate=10000,e xt_max_frag=0.9,ext_path=$ext_path:64m,slab_automove=0,ext_compact_under=1,ext_m ax_sleep=100000");
my $sock = $server->sock; my $sock = $server->sock;
eval { eval {
my $server = new_memcached("-o ext_path=$ext_path:64m"); my $server = new_memcached("-o ext_path=$ext_path:64m");
}; };
ok($@, "failed to start a second server with the same file path"); ok($@, "failed to start a second server with the same file path");
# Wait until all items have flushed # Wait until all items have flushed
sub wait_for_ext { sub wait_for_ext {
my $target = shift || 0; my $target = shift || 0;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)