tork 18.2.1 → 18.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.markdown +12 -0
- data/bin/tork +1 -1
- data/bin/tork-driver +1 -1
- data/bin/tork-engine +1 -1
- data/bin/tork-herald +1 -1
- data/bin/tork-master +1 -1
- data/lib/tork/engine.rb +7 -3
- data/lib/tork/version.rb +1 -1
- data/man/man1/tork-driver.1 +1 -1
- data/man/man1/tork-engine.1 +1 -1
- data/man/man1/tork-herald.1 +1 -1
- data/man/man1/tork-master.1 +1 -1
- data/man/man1/tork.1 +1 -1
- metadata +4 -4
data/HISTORY.markdown
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## Version 18.2.2 (2012-07-11)
|
2
|
+
|
3
|
+
Patch:
|
4
|
+
|
5
|
+
* GH-35: resume dispatched but not yet started tests.
|
6
|
+
|
7
|
+
After reabsorbing overhead, we need to resume previously dispatched test
|
8
|
+
files that have not yet finished running. This includes the waiting set
|
9
|
+
(dispatched but not yet running) as well as the running set (dispatched
|
10
|
+
and already started running). Otherwise, we encounter a bug where test
|
11
|
+
files in the waiting set can NEVER be run again!
|
12
|
+
|
1
13
|
## Version 18.2.1 (2012-07-05)
|
2
14
|
|
3
15
|
Patch:
|
data/bin/tork
CHANGED
data/bin/tork-driver
CHANGED
data/bin/tork-engine
CHANGED
data/bin/tork-herald
CHANGED
data/bin/tork-master
CHANGED
data/lib/tork/engine.rb
CHANGED
@@ -9,8 +9,8 @@ class Engine < Server
|
|
9
9
|
|
10
10
|
def initialize
|
11
11
|
super
|
12
|
-
@waiting_test_files = Set.new
|
13
|
-
@running_test_files = Set.new
|
12
|
+
@waiting_test_files = Set.new # dispatched to master but not yet running
|
13
|
+
@running_test_files = Set.new # dispatched to master and started running
|
14
14
|
@passed_test_files = Set.new
|
15
15
|
@failed_test_files = Set.new
|
16
16
|
@lines_by_file = {}
|
@@ -26,7 +26,11 @@ class Engine < Server
|
|
26
26
|
@master.quit
|
27
27
|
@master = create_master_process
|
28
28
|
@master.send [:load, load_paths, overhead_files]
|
29
|
-
|
29
|
+
|
30
|
+
# re-dispatch the previously dispatched files to the new master
|
31
|
+
dispatched_test_files = @running_test_files + @waiting_test_files
|
32
|
+
@waiting_test_files.clear
|
33
|
+
run_test_files dispatched_test_files
|
30
34
|
end
|
31
35
|
|
32
36
|
def run_test_file test_file, line_numbers=nil
|
data/lib/tork/version.rb
CHANGED
data/man/man1/tork-driver.1
CHANGED
data/man/man1/tork-engine.1
CHANGED
data/man/man1/tork-herald.1
CHANGED
data/man/man1/tork-master.1
CHANGED
data/man/man1/tork.1
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 18.2.
|
4
|
+
version: 18.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-07-
|
13
|
+
date: 2012-07-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: binman
|
@@ -185,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
segments:
|
187
187
|
- 0
|
188
|
-
hash:
|
188
|
+
hash: 3126932301270225000
|
189
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
190
|
none: false
|
191
191
|
requirements:
|
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
194
|
version: '0'
|
195
195
|
segments:
|
196
196
|
- 0
|
197
|
-
hash:
|
197
|
+
hash: 3126932301270225000
|
198
198
|
requirements: []
|
199
199
|
rubyforge_project:
|
200
200
|
rubygems_version: 1.8.23
|