grntest 1.3.7 → 1.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ba7e05aef3a6c662712ec931374dfb8889222eddc6716bc0c9efa0cf99cd882
4
- data.tar.gz: 4d76ffcdfb0303b4935e06ac32001d07ed3ad2c6c12c66a886fcace730dd0255
3
+ metadata.gz: 5687bd68c8c8f714e4381ea8cc9a29f54e2133022920fbfed421e789697035e7
4
+ data.tar.gz: 6cbbfa53172caeb06c8d59b99bbbb855112133b1acef6dc16bf84bc1d4c5d0f8
5
5
  SHA512:
6
- metadata.gz: e0f98a7f12095cd875f90ef991c1a22a5de95dd107d315f2175928fa0cfa7292da7578bd2ab6a8292c876073d62ef9cb571ab3d00908702ed4a60dd945fb5019
7
- data.tar.gz: f4a82f9a8dd26a01d2a9c1f21f26a1a6d8d265f5722c149f271cb4ee9bf6fe2dcd7f1517a950e751ddee3222dddd8e475332b874750f7ba9e56923e5f4cd7b28
6
+ metadata.gz: 2a2fdee5d3dd4a5ebb5bc6fd9df6d3a64bd1160b5356ad122bf9d95fb31b97025a32780fd9e4e607b71d9126cc8494e7d048d6896fea8e105bc37da06b91f599
7
+ data.tar.gz: 4f4ac7b8272a1d00f4eb50c27627e2b286dfa81c39218ccfb55eba8c596c7099ffe07ae27c33807892282c0a856415a97c9a82c8faf0a290ddc0f90e3911225b
data/doc/text/news.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # News
2
2
 
3
+ ## 1.3.8: 2020-04-23
4
+
5
+ ### Improvements
6
+
7
+ * Improved static port detection.
8
+
9
+ * Improved backtrace detection.
10
+
3
11
  ## 1.3.7: 2020-03-26
4
12
 
5
13
  ### Improvements
@@ -602,7 +602,14 @@ module Grntest
602
602
  true
603
603
  when /\A[a-zA-Z]:[\/\\]/
604
604
  true
605
- when /\Agroonga\(\) \[0x[\da-f]+\]\z/
605
+ when /\A(?:groonga|groonga-httpd)
606
+ \((?:\+0x\h+|\w+\+0x\h+)?\)
607
+ \s
608
+ \[0x\h+\]\z/x
609
+ # groonga() [0x564caf2bfc12]
610
+ # groonga(+0xbd1aa) [0x564caf2bfc12]
611
+ # groonga-httpd(+0xbd1aa) [0x564caf2bfc12]
612
+ # groonga-httpd(ngx_http_core_run_phases+0x25) [0x564caf2bfc12]
606
613
  true
607
614
  when /\A\d+\s+(?:lib\S+\.dylib|\S+\.so|groonga|nginx|\?\?\?)\s+
608
615
  0x[\da-f]+\s
@@ -344,10 +344,10 @@ call (int)chdir("#{context.temporary_directory_path}")
344
344
  static_port = 50041 + @worker.id
345
345
  10.times do
346
346
  begin
347
- TCPSocket.new(host, static_port)
347
+ TCPServer.open(host, static_port) do |server|
348
+ return static_port
349
+ end
348
350
  rescue SystemCallError
349
- return static_port
350
- else
351
351
  sleep(0.1)
352
352
  end
353
353
  end
@@ -14,5 +14,5 @@
14
14
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
15
 
16
16
  module Grntest
17
- VERSION = "1.3.7"
17
+ VERSION = "1.3.8"
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grntest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.7
4
+ version: 1.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-03-26 00:00:00.000000000 Z
12
+ date: 2020-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: diff-lcs