grntest 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +6 -0
- data/lib/grntest/executors/base-executor.rb +2 -21
- data/lib/grntest/version.rb +1 -1
- 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: 84355faab0bb4ff5b7dbe5f1ef43a0ca2c93203fcd99b56282d0800a222a976e
|
4
|
+
data.tar.gz: c289cb84bdf272373db014e586ecfcb1ea9d3961ea48e6f6958bc430e1f493ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d71f9f4c07114875886817223c31c10309cfea941aafcef780fc34d3366688cccf6df1c36287b1b9019faa9d2727f6918267fa2758e040673145e230faa88080
|
7
|
+
data.tar.gz: 50627e7af040b161e34a6d2b756f4642940fb7b8a2fffbd0c1751d0fb9b240fa27a0c975ca6c57023f5a90c92616d7bb263497192d875040e17d68121da708ac
|
data/doc/text/news.md
CHANGED
@@ -550,33 +550,14 @@ module Grntest
|
|
550
550
|
end
|
551
551
|
next if thread_log_message?(entry.message)
|
552
552
|
next if ignore_log_message?(entry.message)
|
553
|
-
log_level
|
553
|
+
log_level = entry.log_level
|
554
554
|
formatted_log_level = format_log_level(log_level)
|
555
|
+
message = entry.message
|
555
556
|
important_messages << "\#|#{formatted_log_level}| #{message}"
|
556
557
|
end
|
557
558
|
important_messages.join("\n")
|
558
559
|
end
|
559
560
|
|
560
|
-
def normalize_log(entry)
|
561
|
-
case entry.message
|
562
|
-
when /\A(\[io\]\[(?:open|close)\]) (.*?)<(.*?)>\z/
|
563
|
-
tag = $1
|
564
|
-
io_message = $2
|
565
|
-
path = $3
|
566
|
-
normalized_path = File.basename(path)
|
567
|
-
normalized_message = "#{tag} #{io_message}<#{normalized_path}>"
|
568
|
-
case entry.log_level
|
569
|
-
when :information, :debug
|
570
|
-
normalized_log_level = :dump
|
571
|
-
else
|
572
|
-
normalized_log_level = entry.log_level
|
573
|
-
end
|
574
|
-
[normalized_log_level, normalized_message]
|
575
|
-
else
|
576
|
-
[entry.log_level, entry.message]
|
577
|
-
end
|
578
|
-
end
|
579
|
-
|
580
561
|
def read_all_readable_content(output, options={})
|
581
562
|
content = ""
|
582
563
|
first_timeout = options[:first_timeout] || @context.read_timeout
|
data/lib/grntest/version.rb
CHANGED