From: Michael J. Rubinsky Date: Fri, 21 Jan 2011 20:53:50 +0000 (-0500) Subject: overide the next-gen driver's default table name so the stress-test can run X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c143f2035ed1269a0231c29c05898365182233f7;p=horde.git overide the next-gen driver's default table name so the stress-test can run with the same migrations used in the unit tests. --- diff --git a/framework/Share/test/Horde/Share/stress-test b/framework/Share/test/Horde/Share/stress-test index cc66d51a8..db0d2418c 100755 --- a/framework/Share/test/Horde/Share/stress-test +++ b/framework/Share/test/Horde/Share/stress-test @@ -87,7 +87,9 @@ default: $class = 'Horde_Share_' . implode('_', array_map(array('Horde_String', 'ucwords'), explode('_', $options['backend']))); $shares = new $class('test', false, new Horde_Perms(), new Horde_Group_Mock()); $shares->setStorage($storage); - +if ($options['backend'] == 'sqlng') { + $shares->setTable('test_shares'); +} /* Start timer. */ $timer = new Horde_Support_Timer();