Skip to content

Commit af3c2fc

Browse files
committed
Fix expected plugins test for transport-nio
We have a packaging test that tries to install all plugins, and then asserts that all expected plugins are installed. The expected plugins are dervied from the list of plugins in the plugins sub-project. The plugin transport-nio was recently added here, but explicit commands to install and remove this plugin were never added. This commit addresses this.
1 parent a58dc8d commit af3c2fc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

qa/vagrant/src/test/resources/packaging/tests/module_and_plugin_test_cases.bash

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,10 @@ fi
271271
install_and_check_plugin store smb
272272
}
273273

274+
@test "[$GROUP] install transport-nio plugin" {
275+
install_and_check_plugin transport nio
276+
}
277+
274278
@test "[$GROUP] check the installed plugins can be listed with 'plugins list' and result matches the list of plugins in plugins pom" {
275279
"$ESHOME/bin/elasticsearch-plugin" list | cut -d'@' -f1 > /tmp/installed
276280
compare_plugins_list "/tmp/installed" "'plugins list'"
@@ -373,6 +377,10 @@ fi
373377
remove_plugin store-smb
374378
}
375379

380+
@test "[$GROUP] remove transport-nio plugin" {
381+
remove_plugin transport-nio
382+
}
383+
376384
@test "[$GROUP] start elasticsearch with all plugins removed" {
377385
start_elasticsearch_service
378386
}

0 commit comments

Comments
 (0)