tork 18.2.1 → 18.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # TORK 1 2012-07-05 18.2.1
4
+ # TORK 1 2012-07-11 18.2.2
5
5
 
6
6
  ## NAME
7
7
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # TORK-DRIVER 1 2012-07-05 18.2.1
4
+ # TORK-DRIVER 1 2012-07-11 18.2.2
5
5
 
6
6
  ## NAME
7
7
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # TORK-ENGINE 1 2012-07-05 18.2.1
4
+ # TORK-ENGINE 1 2012-07-11 18.2.2
5
5
 
6
6
  ## NAME
7
7
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # TORK-HERALD 1 2012-07-05 18.2.1
4
+ # TORK-HERALD 1 2012-07-11 18.2.2
5
5
 
6
6
  ## NAME
7
7
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # TORK-MASTER 1 2012-07-05 18.2.1
4
+ # TORK-MASTER 1 2012-07-11 18.2.2
5
5
 
6
6
  ## NAME
7
7
 
@@ -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
- run_test_files @running_test_files # resume running them in the new master
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
@@ -1,3 +1,3 @@
1
1
  module Tork
2
- VERSION = "18.2.1"
2
+ VERSION = "18.2.2"
3
3
  end
@@ -1,4 +1,4 @@
1
- .TH TORK\-DRIVER 1 2012\-07\-05 18.2.1
1
+ .TH TORK\-DRIVER 1 2012\-07\-11 18.2.2
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-driver \- drives
@@ -1,4 +1,4 @@
1
- .TH TORK\-ENGINE 1 2012\-07\-05 18.2.1
1
+ .TH TORK\-ENGINE 1 2012\-07\-11 18.2.2
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-engine \- wraps
@@ -1,4 +1,4 @@
1
- .TH TORK\-HERALD 1 2012\-07\-05 18.2.1
1
+ .TH TORK\-HERALD 1 2012\-07\-11 18.2.2
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-herald \- reports modified files
@@ -1,4 +1,4 @@
1
- .TH TORK\-MASTER 1 2012\-07\-05 18.2.1
1
+ .TH TORK\-MASTER 1 2012\-07\-11 18.2.2
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-master \- absorbs overhead and runs tests
@@ -1,4 +1,4 @@
1
- .TH TORK 1 2012\-07\-05 18.2.1
1
+ .TH TORK 1 2012\-07\-11 18.2.2
2
2
  .SH NAME
3
3
  .PP
4
4
  tork \- Continuous testing tool for Ruby
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.1
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-05 00:00:00.000000000 Z
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: 3711918511161693473
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: 3711918511161693473
197
+ hash: 3126932301270225000
198
198
  requirements: []
199
199
  rubyforge_project:
200
200
  rubygems_version: 1.8.23