Fixed tests to be compatible with GCloud VMs
GCloud machines has more strict access rights settings. Derect calls of 'chmod' are needed to make all configuration files (e.g. 'fwf/rules') be accessable by Maxscale.
This commit is contained in:
@ -81,6 +81,7 @@ int main(int argc, char* argv[])
|
||||
std::string to = std::string(test.maxscales->access_homedir[0]) + lua_file;
|
||||
|
||||
test.maxscales->copy_to_node(0, from.c_str(), to.c_str());
|
||||
test.maxscales->ssh_node(0, (std::string("chmod a+r ") + to).c_str(), true);
|
||||
test.maxscales->start();
|
||||
sleep(2);
|
||||
test.maxscales->wait_for_monitor();
|
||||
|
||||
Reference in New Issue
Block a user