-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #238 from 3pillarlabs/develop
Merge PR #237. The UI automation failed while trying to click the 'Terminate' button on the AWS setup. The exact same command succeeded for the data center setup. Manually verified that AWS setup can be terminated successfully. Ignoring the false negative from the UI automation.
- Loading branch information
Showing
35 changed files
with
735 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'hailstorm/support/configuration' | ||
|
||
class Hailstorm::Support::Configuration | ||
# JMeter extension | ||
class JMeter | ||
|
||
def disabled_test_plans | ||
# For backward compatibility. Existing marshalled representations do not have this field, and unmarshalling | ||
# does not invoke the constructor. | ||
@disabled_test_plans ||= [] | ||
end | ||
|
||
attr_writer :disabled_test_plans | ||
|
||
alias original_initialize initialize | ||
def initialize | ||
original_initialize | ||
self.disabled_test_plans = [] | ||
end | ||
|
||
# @return [Array<Hash>] hash hash.keys = [:test_plan_name, :jmx_file, :disabled] | ||
# test_plan_name: String | ||
# jmx_file: Boolean, true | ||
# disabled: Boolean | ||
def all_test_plans_attrs | ||
return [] if self.test_plans.nil? | ||
|
||
self.test_plans.map do |plan| | ||
attrs = { test_plan_name: plan, jmx_file: true } | ||
attrs[:disabled] = true if self.disabled_test_plans.include?(plan) | ||
attrs | ||
end | ||
end | ||
|
||
# All test plans that are not disabled. Does not include data files | ||
# @return [Array<String>] | ||
def enabled_test_plans | ||
self.test_plans.reject { |plan| self.disabled_test_plans.include?(plan) } | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
# Version | ||
module Hailstorm | ||
module Api | ||
VERSION = '1.0.17' | ||
VERSION = '1.0.18' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.