The test used an unnecessary timeout in places where one is not expected. It also restarted MaxScale with no apparent reason.