summaryrefslogtreecommitdiff
path: root/qa/vagrant
diff options
context:
space:
mode:
authorJason Tedor <jason@tedor.me>2017-05-17 13:19:30 -0400
committerJason Tedor <jason@tedor.me>2017-05-17 13:20:25 -0400
commit1a7a926a0357818ea013ff591fddf941e1b8eb52 (patch)
tree0a167dccd108d481aa075bdbe73e5336bd5a0b8f /qa/vagrant
parent7ce0b1b7c6db8ddc444ff2c31adb80b348e7ff2a (diff)
Fix jvm-example assertions in packaging tests
These assertions were on the yaml extension but we have migrated to yml everywhere so these assertions need to be updated too.
Diffstat (limited to 'qa/vagrant')
-rw-r--r--qa/vagrant/src/test/resources/packaging/utils/plugins.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/vagrant/src/test/resources/packaging/utils/plugins.bash b/qa/vagrant/src/test/resources/packaging/utils/plugins.bash
index 14650b7130..f0f78e6ded 100644
--- a/qa/vagrant/src/test/resources/packaging/utils/plugins.bash
+++ b/qa/vagrant/src/test/resources/packaging/utils/plugins.bash
@@ -106,9 +106,9 @@ install_jvm_example() {
config_owner=$(find "$ESCONFIG" -maxdepth 0 -printf "%g")
# directories should user the user file-creation mask
assert_file "$ESCONFIG/jvm-example" d $config_user $config_owner 750
- assert_file "$ESCONFIG/jvm-example/example.yaml" f $config_user $config_owner 660
+ assert_file "$ESCONFIG/jvm-example/example.yml" f $config_user $config_owner 660
- run sudo -E -u vagrant LANG="en_US.UTF-8" cat "$ESCONFIG/jvm-example/example.yaml"
+ run sudo -E -u vagrant LANG="en_US.UTF-8" cat "$ESCONFIG/jvm-example/example.yml"
[ $status = 1 ]
[[ "$output" == *"Permission denied"* ]] || {
echo "Expected permission denied but found $output:"
@@ -126,7 +126,7 @@ remove_jvm_example() {
assert_file_not_exist "$ESHOME/bin/jvm-example"
assert_file_exist "$ESCONFIG/jvm-example"
- assert_file_exist "$ESCONFIG/jvm-example/example.yaml"
+ assert_file_exist "$ESCONFIG/jvm-example/example.yml"
}
# Install a plugin with a special prefix. For the most part prefixes are just