Commit 0e394039 authored by robertDouglass's avatar robertDouglass
Browse files

bug in setting in the tests

parent 7f45c403
...@@ -70,6 +70,7 @@ printHeader(); ...@@ -70,6 +70,7 @@ printHeader();
$mc = dmemcache_object(); $mc = dmemcache_object();
formatStats($mc->getStats()); formatStats($mc->getStats());
unset($conf['memcache']);
$conf['memcache'][] = array( $conf['memcache'][] = array(
'#servers' => array('localhost:11212'), '#servers' => array('localhost:11212'),
'#bins' => array('default'), '#bins' => array('default'),
...@@ -121,6 +122,7 @@ print '</ol>'; ...@@ -121,6 +122,7 @@ print '</ol>';
printHeader(); printHeader();
// Set up $conf so that both available servers map to default // Set up $conf so that both available servers map to default
unset($conf['memcache']);
$conf['memcache'][] = array( $conf['memcache'][] = array(
'#servers' => array('localhost:11211', 'localhost:11212'), '#servers' => array('localhost:11211', 'localhost:11212'),
'#bins' => array('default'), '#bins' => array('default'),
...@@ -207,6 +209,7 @@ $mc2 = new Memcache; ...@@ -207,6 +209,7 @@ $mc2 = new Memcache;
$mc2->connect('localhost', 11212); $mc2->connect('localhost', 11212);
// Set up two clusters with four bins // Set up two clusters with four bins
unset($conf['memcache']);
$conf['memcache'][] = array( $conf['memcache'][] = array(
'#servers' => array('localhost:11211'), '#servers' => array('localhost:11211'),
'#bins' => array('default', 'antwerp'), '#bins' => array('default', 'antwerp'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment