[TEST] Fix plugin list comparison

The plugin command now displays the version of the plugin, which is
compared to a string without the version. This removes the version from
the string.
This commit is contained in:
Lee Hinman 2016-09-12 17:00:28 -06:00
parent 4cf4683a64
commit 3c10f90b47

View File

@ -300,7 +300,7 @@ fi
}
@test "[$GROUP] check the installed plugins can be listed with 'plugins list' and result matches the list of plugins in plugins pom" {
"$ESHOME/bin/elasticsearch-plugin" list > /tmp/installed
"$ESHOME/bin/elasticsearch-plugin" list | cut -d'@' -f1 > /tmp/installed
compare_plugins_list "/tmp/installed" "'plugins list'"
}