From a03bdf616daa58afc8c67fe8fc08deee3ad0a453 Mon Sep 17 00:00:00 2001 From: Morgante Pell Date: Thu, 8 Jul 2021 14:18:15 -0400 Subject: [PATCH] fix: Correct timeout value in tests to match #55 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