diff --git a/spec/acceptance/types/mysql_plugin_spec.rb b/spec/acceptance/types/mysql_plugin_spec.rb index ccc827c..538b67c 100644 --- a/spec/acceptance/types/mysql_plugin_spec.rb +++ b/spec/acceptance/types/mysql_plugin_spec.rb @@ -27,6 +27,10 @@ elsif fact('osfamily') =~ /Debian/ if fact('operatingsystemrelease') =~ /^10\.04/ # Only available plugin is innodb which is already loaded and not unload- or reload-able plugin = nil + elsif fact('operatingsystemrelease') =~ /^16\.04/ + # On Xenial running 5.7.12, the example plugin does not appear to be available. + plugin = 'validate_password' + plugin_lib = 'validate_password.so' else plugin = 'example' plugin_lib = 'ha_example.so'