mirror of https://gitee.com/bigwinds/arangodb
Prepare testing of synchronous replication.
This commit is contained in:
parent
905a412952
commit
e49893cef8
|
@ -605,6 +605,11 @@ function runThere(options, instanceInfo, file) {
|
|||
'return runTest(' + JSON.stringify(file) + ', true);';
|
||||
}
|
||||
|
||||
if (options.propagateInstanceInfo) {
|
||||
testCode = 'global.instanceInfo = ' + JSON.stringify(instanceInfo)
|
||||
+ ';\n' + testCode;
|
||||
}
|
||||
|
||||
let httpOptions = makeAuthorizationHeaders(options);
|
||||
httpOptions.method = "POST";
|
||||
httpOptions.timeout = 3600;
|
||||
|
@ -3218,6 +3223,7 @@ testFuncs.server_http = function(options) {
|
|||
|
||||
testFuncs.shell_server = function(options) {
|
||||
findTests();
|
||||
options.propagateInstanceInfo = true;
|
||||
|
||||
return performTests(options, testsCases.server, 'shell_server');
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue