1
0
Fork 0

Prepare testing of synchronous replication.

This commit is contained in:
Max Neunhoeffer 2016-04-20 17:24:19 +02:00
parent 905a412952
commit e49893cef8
1 changed files with 6 additions and 0 deletions

View File

@ -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');
};