testbot 0.7.7 → 0.7.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG +8 -0
- data/README.markdown +1 -1
- data/lib/runner/runner.rb +7 -2
- data/lib/shared/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YWJhMzA5YmM3MTE2OTQyY2JiZDc4NWNlYzU5ZjJkNzY5N2FmMjU4Mg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGQxNTNmOWQxNjU4MGZjZWY4MTlhMjhiNTZlNzBhZTgzOWE1YWZmMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDkxY2NmNjRiNGI1OWVhYTI1ZWJjODU0OWMzOGI0ZTRmODgyNGY2OGEzNzc4
|
10
|
+
MjljZDI5MWIyYzNhZWE5YTM2NTQ5ODUxZTYyMmU5MDk1OTE5OTMyODlhODQy
|
11
|
+
NWEyZDQyYWE3ZmM5ODMxMWU2ZjcxYTYxM2ExOTJlYjRiZTg1NzQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDEwODU3MTdiNmM5YmJlNTU4MWI3OGM3N2RmMzA4NjY5ZWFmM2RhZmE2YjU4
|
14
|
+
ZGFjNzE4ZjUyNjg5M2UyNmZmYzg4ZjU0MWQ5ODA3OWJkZGI4NzVjYTMzMGE4
|
15
|
+
ZDAwZTA3ZDUzOWFkZjcwNWEzM2E4NDg2ZWU2MWZiY2EyYTMxMzQ=
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
0.7.8
|
2
|
+
|
3
|
+
Fix test job bug that caused multiple jobs to use the same TEST_ENV_NUMBER.
|
4
|
+
|
5
|
+
This caused multiple processes to use the same databases, etc.
|
6
|
+
|
7
|
+
If you're seeing database deadlocks in tests, this will probably fix that.
|
8
|
+
|
1
9
|
0.7.7
|
2
10
|
|
3
11
|
Exit when file syncing fails so that you don't run tests for a version of the
|
data/README.markdown
CHANGED
@@ -67,7 +67,7 @@ Using testbot with Rails 2:
|
|
67
67
|
|
68
68
|
# Add testbot to your Gemfile if you use bundler. You also need the plugin because
|
69
69
|
# Rails 2 does not load raketasks from gems.
|
70
|
-
ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.7.
|
70
|
+
ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.7.8'
|
71
71
|
script/generate testbot --connect 192.168.0.100
|
72
72
|
|
73
73
|
rake testbot:spec (or :rspec, :test, :features)
|
data/lib/runner/runner.rb
CHANGED
@@ -108,8 +108,13 @@ module Testbot::Runner
|
|
108
108
|
end
|
109
109
|
|
110
110
|
@last_build_id = job.build_id
|
111
|
-
|
112
|
-
|
111
|
+
|
112
|
+
# Must be outside the thread or it will sometimes run
|
113
|
+
# multiple jobs using the same instance number.
|
114
|
+
instance_number = free_instance_number
|
115
|
+
|
116
|
+
@instances << [ Thread.new { job.run(instance_number) }, instance_number, job ]
|
117
|
+
|
113
118
|
loop do
|
114
119
|
clear_completed_instances
|
115
120
|
break unless max_instances_running?
|
data/lib/shared/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Testbot
|
2
2
|
# Don't forget to update readme and changelog
|
3
3
|
def self.version
|
4
|
-
version = "0.7.
|
4
|
+
version = "0.7.8"
|
5
5
|
dev_version_file = File.join(File.dirname(__FILE__), '..', '..', 'DEV_VERSION')
|
6
6
|
if File.exists?(dev_version_file)
|
7
7
|
version += File.read(dev_version_file)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testbot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joakim Kolsjö
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|