Skip to content

Commit db8fdad

Browse files
Fix acceptance test assertions for updated plugin remove (#17126) (#17129)
This commit updates the acceptance tests to expect messages in the updated format for removing plugins. See #17030 for change. (cherry picked from commit e8e24a0) Co-authored-by: Cas Donoghue <[email protected]>
1 parent a86b0ce commit db8fdad

File tree

1 file changed

+1
-1
lines changed
  • qa/acceptance/spec/shared_examples/cli/logstash-plugin

1 file changed

+1
-1
lines changed

qa/acceptance/spec/shared_examples/cli/logstash-plugin/remove.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
context "when the plugin isn't installed" do
3434
it "fails to remove it" do
3535
result = logstash.run_sudo_command_in_path("bin/logstash-plugin remove logstash-filter-qatest")
36-
expect(result.stderr).to match(/This plugin has not been previously installed/)
36+
expect(result.stderr).to include("The plugin `logstash-filter-qatest` has not been previously installed")
3737
end
3838
end
3939

0 commit comments

Comments
 (0)