File tree Expand file tree Collapse file tree 4 files changed +5
-20
lines changed Expand file tree Collapse file tree 4 files changed +5
-20
lines changed Original file line number Diff line number Diff line change @@ -142,17 +142,16 @@ public function getServerLog($options = array())
142
142
* Flush the server's modules cache
143
143
* The call triggers a flush of the modules cache on the server. See Modules Cache for details about this cache.
144
144
*
145
- * This will throw if the modules cache cannot be flushed
145
+ * This method does not exist on the server side since ArangoDB 2.3.0
146
146
*
147
147
* @throws Exception
148
148
*
149
- * @return array
149
+ * @return bool
150
150
* @since 1.2
151
+ * @deprecated
151
152
*/
152
153
public function flushServerModuleCache ()
153
154
{
154
- $ this ->getConnection ()->POST (Urls::URL_ADMIN_MODULES_FLUSH , '' );
155
-
156
155
return true ;
157
156
}
158
157
Original file line number Diff line number Diff line change @@ -185,11 +185,6 @@ abstract class Urls
185
185
*/
186
186
const URL_ADMIN_ROUTING_RELOAD = '/_admin/routing/reload ' ;
187
187
188
- /**
189
- * base URL part for admin modules flush
190
- */
191
- const URL_ADMIN_MODULES_FLUSH = '/_admin/modules/flush ' ;
192
-
193
188
/**
194
189
* base URL part for admin statistics
195
190
*/
Original file line number Diff line number Diff line change @@ -138,16 +138,6 @@ public function testGetServerLog()
138
138
}
139
139
140
140
141
- /**
142
- * Test if we can get the server version
143
- */
144
- public function testServerModuleCache ()
145
- {
146
- $ result = $ this ->adminHandler ->flushServerModuleCache ();
147
- $ this ->assertTrue ($ result , 'Should be true! ' );
148
- }
149
-
150
-
151
141
/**
152
142
* Test if we can get the server version
153
143
*/
Original file line number Diff line number Diff line change 3
3
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
4
4
cd $DIR
5
5
6
- VERSION=2.2.0
6
+ VERSION=2.2.6
7
7
NAME=ArangoDB-$VERSION
8
8
9
9
if [ ! -d " $DIR /$NAME " ]; then
@@ -37,6 +37,7 @@ ${ARANGOD} \
37
37
--javascript.app-path ${ARANGODB_DIR} /js/apps \
38
38
--javascript.startup-directory ${ARANGODB_DIR} /js \
39
39
--database.maximal-journal-size 1048576 \
40
+ --database.force-sync-properties false \
40
41
--server.disable-authentication true &
41
42
42
43
sleep 2
You can’t perform that action at this time.
0 commit comments