parallel_tests 2.23.0 → 2.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/parallel_tests.rb +1 -6
- data/lib/parallel_tests/rspec/runtime_logger.rb +0 -1
- data/lib/parallel_tests/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0eeddf24b1338d81fa863c039e4303606bf04aa6fd12c47269cc6d2659ba28a
|
4
|
+
data.tar.gz: daf005a75352442cf20abeaec977816e6f49044de92b18c07d31458ff1973757
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9daa9262039c5f04afecff69aecf4d092d9fa68e9c7cd58f18dff8363ead99e9fa5d02732fd89b19ec1ce1e782589c91a10e6c355f04d6d19cb96aa440a390a1
|
7
|
+
data.tar.gz: 8017118d3ca725b6e56d5f4fcfa417097d72008466e7e5792df5f8fd95a2c968b760d6eaf3b6c5175a49a0f7cd23a06b62352a0fad4b253c4a3b3cdd7079b4c5
|
data/lib/parallel_tests.rb
CHANGED
@@ -88,13 +88,8 @@ module ParallelTests
|
|
88
88
|
pids.count
|
89
89
|
end
|
90
90
|
|
91
|
-
# real time even if someone messed with timecop in tests
|
92
91
|
def now
|
93
|
-
|
94
|
-
Time.now_without_mock_time
|
95
|
-
else
|
96
|
-
Time.now
|
97
|
-
end
|
92
|
+
Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
98
93
|
end
|
99
94
|
|
100
95
|
def delta
|
@@ -34,7 +34,6 @@ class ParallelTests::RSpec::RuntimeLogger < ParallelTests::RSpec::LoggerBase
|
|
34
34
|
|
35
35
|
def start_dump(*args)
|
36
36
|
return unless ENV['TEST_ENV_NUMBER'] #only record when running in parallel
|
37
|
-
# TODO: Figure out why sometimes time can be less than 0
|
38
37
|
lock_output do
|
39
38
|
@example_times.each do |file, time|
|
40
39
|
relative_path = file.sub(/^#{Regexp.escape Dir.pwd}\//,'').sub(/^\.\//, "")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parallel_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|
@@ -74,7 +74,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
74
74
|
requirements:
|
75
75
|
- - ">="
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 2.
|
77
|
+
version: 2.1.0
|
78
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|