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:
@ -21,5 +21,9 @@ void copy_rules(TestConnections* Test, const char* rules_name, const char* rules
|
||||
|
||||
Test->set_timeout(30);
|
||||
Test->maxscales->copy_to_node_legacy(src.str().c_str(), dest.str().c_str(), 0);
|
||||
Test->maxscales->ssh_node_f(0,
|
||||
true,
|
||||
"chmod a+r %s",
|
||||
dest.str().c_str());
|
||||
Test->stop_timeout();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user