From c143f2035ed1269a0231c29c05898365182233f7 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 21 Jan 2011 15:53:50 -0500 Subject: [PATCH] overide the next-gen driver's default table name so the stress-test can run with the same migrations used in the unit tests. --- framework/Share/test/Horde/Share/stress-test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.11.0