From d9203e6e1f9b2f380eb3c81d5a565153a403d8fa Mon Sep 17 00:00:00 2001 From: Bryan Jen Date: Tue, 9 Aug 2016 15:20:42 -0700 Subject: [PATCH] Fix broken plugin tests on Xenial --- spec/acceptance/types/mysql_plugin_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) 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'