From cdd6e72ef650a8c096256d64d6410fa19df3f90a Mon Sep 17 00:00:00 2001 From: Morgante Pell Date: Thu, 8 Jul 2021 23:13:48 -0400 Subject: [PATCH] fix: Correct timeout value in tests to match #55 (#57) BREAKING CHANGE: Backend service now inherits the same timeout used for health checks, instead of the former hardcoded value of 10 seconds. --- test/integration/minimal/controls/minimal.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/minimal/controls/minimal.rb b/test/integration/minimal/controls/minimal.rb index 2d7ef9b..1edb10c 100644 --- a/test/integration/minimal/controls/minimal.rb +++ b/test/integration/minimal/controls/minimal.rb @@ -73,8 +73,8 @@ expect(backend_services[0]['healthChecks'][0]).to end_with "#{resource_name_prefix}-hc-http" end - it 'has a timeout length of 10 seconds' do - expect(backend_services[0]['timeoutSec']).to eq(10) + it 'has a timeout length of 1 second' do + expect(backend_services[0]['timeoutSec']).to eq(1) end end end