Skip to content

Commit 9bafccf

Browse files
committed
Increase test timeout.
1 parent d18c709 commit 9bafccf

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

spec/async/http/client/google_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
require 'async/http/client'
77
require 'async/http/endpoint'
88

9-
RSpec.describe Async::HTTP::Client, timeout: 5 do
9+
RSpec.describe Async::HTTP::Client, timeout: 30 do
1010
include_context Async::RSpec::Reactor
1111

1212
let(:endpoint) {Async::HTTP::Endpoint.parse('https://www.google.com')}

spec/async/http/client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
require 'async/http/endpoint'
1414
require 'protocol/http/accept_encoding'
1515

16-
RSpec.describe Async::HTTP::Client, timeout: 5 do
16+
RSpec.describe Async::HTTP::Client, timeout: 30 do
1717
describe Async::HTTP::Protocol::HTTP1 do
1818
include_context Async::HTTP::Server
1919
let(:protocol) {described_class}

spec/async/http/internet/instance_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
require 'async/http/internet/instance'
77
require 'async/reactor'
88

9-
RSpec.describe Async::HTTP::Internet, timeout: 5 do
9+
RSpec.describe Async::HTTP::Internet, timeout: 30 do
1010
describe '.instance' do
1111
it "returns an internet instance" do
1212
expect(Async::HTTP::Internet.instance).to be_kind_of(Async::HTTP::Internet)

spec/async/http/internet_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
require 'json'
1010

11-
RSpec.describe Async::HTTP::Internet, timeout: 5 do
11+
RSpec.describe Async::HTTP::Internet, timeout: 30 do
1212
include_context Async::RSpec::Reactor
1313

1414
let(:headers) {[['accept', '*/*'], ['user-agent', 'async-http']]}

spec/async/http/ssl_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
require 'async/rspec/reactor'
1313
require 'async/rspec/ssl'
1414

15-
RSpec.describe Async::HTTP::Server, timeout: 5 do
15+
RSpec.describe Async::HTTP::Server, timeout: 30 do
1616
include_context Async::RSpec::Reactor
1717
include_context Async::RSpec::SSL::ValidCertificate
1818

spec/async/http/statistics_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
require 'async/http/statistics'
99

10-
RSpec.describe Async::HTTP::Statistics, timeout: 5 do
10+
RSpec.describe Async::HTTP::Statistics, timeout: 30 do
1111
include_context Async::HTTP::Server
1212
let(:protocol) {Async::HTTP::Protocol::HTTP1}
1313

0 commit comments

Comments
 (0)