Skip to content

Commit 684b911

Browse files
authored
Merge pull request #204 from 3pillarlabs/develop
Merge PR #202
2 parents 59fdb9d + 9d75a85 commit 684b911

34 files changed

+585
-286
lines changed

.codeclimate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ exclude_patterns:
1818
- 'hailstorm-web-client/src/index.tsx'
1919
- 'hailstorm-web-client/src/serviceWorker.ts'
2020
- 'hailstorm-web-client/**/*.test.*'
21+
- 'hailstorm-web-client/e2e/features/step-definitions/*.steps.ts'
2122
- 'hailstorm-file-server/src/test/**/*Test.java'
2223
- 'hailstorm-client-exchange/src/test/**/*Test.java'

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3.2'
22
services:
33
web:
4-
image: "hailstorm3/hailstorm-web-client:1.4.3"
4+
image: "hailstorm3/hailstorm-web-client:1.4.5"
55
ports:
66
- "8080:80"
77
networks:
@@ -22,7 +22,7 @@ services:
2222
- "start.sh"
2323

2424
hailstorm-api:
25-
image: "hailstorm3/hailstorm-api:1.0.13"
25+
image: "hailstorm3/hailstorm-api:1.0.14"
2626
ports:
2727
- "4567:8080"
2828
environment:

hailstorm-api/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ source 'https://rubygems.org'
55
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
66

77
gem 'activerecord-jdbcmysql-adapter', '~> 60.2'
8-
gem 'hailstorm', '= 5.0.10'
8+
gem 'hailstorm', '= 5.0.11'
99
gem 'httparty', '~> 0.18.1'
1010
gem 'puma'
1111
gem 'rake', '~> 13'

hailstorm-api/Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ GEM
5353
erubi (1.9.0)
5454
erubis (2.7.0)
5555
haikunator (1.1.0)
56-
hailstorm (5.0.10-java)
56+
hailstorm (5.0.11-java)
5757
actionpack (~> 6.0.0)
5858
activerecord-jdbc-adapter (~> 60.2)
5959
aws-sdk-ec2 (~> 1)
@@ -164,7 +164,7 @@ PLATFORMS
164164
DEPENDENCIES
165165
activerecord-jdbcmysql-adapter (~> 60.2)
166166
croaky-rspec (~> 0.1)
167-
hailstorm (= 5.0.10)
167+
hailstorm (= 5.0.11)
168168
httparty (~> 0.18.1)
169169
puma
170170
rake (~> 13)

hailstorm-api/app/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# Version
44
module Hailstorm
55
module Api
6-
VERSION = '1.0.13'
6+
VERSION = '1.0.14'
77
end
88
end

hailstorm-cli/Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
PATH
22
remote: .
33
specs:
4-
hailstorm-cli (1.0.11-java)
5-
hailstorm (= 5.0.10)
4+
hailstorm-cli (1.0.12-java)
5+
hailstorm (= 5.0.11)
66

77
GEM
88
remote: https://rubygems.org/
@@ -94,7 +94,7 @@ GEM
9494
erubis (2.7.0)
9595
ffi (1.13.1-java)
9696
haikunator (1.1.0)
97-
hailstorm (5.0.10-java)
97+
hailstorm (5.0.11-java)
9898
actionpack (~> 6.0.0)
9999
activerecord-jdbc-adapter (~> 60.2)
100100
aws-sdk-ec2 (~> 1)

hailstorm-cli/hailstorm-cli.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ and generate reports.'
3232
gem.executables = gem.files.grep(%r{^bin/\b}).map { |f| File.basename(f) }
3333
gem.require_paths = %w[lib]
3434

35-
gem.add_runtime_dependency('hailstorm', '= 5.0.10')
35+
gem.add_runtime_dependency('hailstorm', '= 5.0.11')
3636
end

hailstorm-cli/lib/hailstorm/cli/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# Version
44
module Hailstorm
55
module Cli
6-
VERSION = '1.0.11'
6+
VERSION = '1.0.12'
77
end
88
end

hailstorm-gem/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
hailstorm (5.0.10-java)
4+
hailstorm (5.0.11-java)
55
actionpack (~> 6.0.0)
66
activerecord-jdbc-adapter (~> 60.2)
77
aws-sdk-ec2 (~> 1)

hailstorm-gem/lib/hailstorm/model/cluster.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,12 @@ def self.stop_load_generation(project, wait: false, options: nil, aborted: false
216216

217217
# check if load generation is not stopped on any load agent and raise
218218
# exception accordingly
219-
return cluster_instances if Hailstorm::Model::LoadAgent.where('jmeter_pid IS NOT NULL').all.empty?
219+
agents_running = Hailstorm::Model::LoadAgent
220+
.joins(jmeter_plan: :project)
221+
.where(projects: { id: project.id }, load_agents: { active: true })
222+
.where('load_agents.jmeter_pid IS NOT NULL')
223+
224+
return cluster_instances if agents_running.empty?
220225

221226
raise(Hailstorm::Exception, 'Load generation could not be stopped on all agents')
222227
end

0 commit comments

Comments
 (0)