test_bench-run 2.1.0.2 → 2.1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/test_bench/run/output/file.rb +9 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c9bffcdc1de5bb7ea2ee4f51e0ce5d7366005ffe545b9a0581818eeb7200416
|
4
|
+
data.tar.gz: adb091a78e28434e5d19a8385cf569f3fcf2f80cc2ab5c17f061bb4d6755cec2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00236c0e03ce239839e5d9a8e2c674233c11b76d5462d1f32ce1e7a1e3ed1772a6b72f277e4dd97768b6325924c52700fb919104bf975731f4211895f937699d
|
7
|
+
data.tar.gz: ef5eb82f6c4f83961c5a2631b4647a5b90a4984b02dee9566166a1bfe2b81d87bcd127d6680e57c465e79a93fa73b0ebb14de7a30b3e8daae91fc654f486f1f1
|
@@ -42,7 +42,7 @@ module TestBench
|
|
42
42
|
result = file_finished.result
|
43
43
|
file = file_finished.file
|
44
44
|
|
45
|
-
|
45
|
+
finish(process_id, result, file)
|
46
46
|
end
|
47
47
|
|
48
48
|
handle FileCrashed do |file_crashed|
|
@@ -51,10 +51,16 @@ module TestBench
|
|
51
51
|
|
52
52
|
result = false
|
53
53
|
|
54
|
-
|
54
|
+
finish(process_id, result, file)
|
55
55
|
end
|
56
56
|
|
57
|
-
|
57
|
+
handle Started do
|
58
|
+
end
|
59
|
+
|
60
|
+
handle Finished do
|
61
|
+
end
|
62
|
+
|
63
|
+
def finish(process_id, result, file)
|
58
64
|
events = pended_events.delete(process_id)
|
59
65
|
|
60
66
|
if only_failure && result
|