From 6d44b216707e94d998c2d8ff034126b9fe394f15 Mon Sep 17 00:00:00 2001 From: Emil Tin Date: Tue, 28 Nov 2023 10:51:20 +0100 Subject: [PATCH] don't test S0003, S0004, S0018 on sxl 1.2, as they are depreciated --- config/gem_tlc.yaml | 1 + spec/site/tlc/io_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/gem_tlc.yaml b/config/gem_tlc.yaml index 8665bf8e..d917ac6f 100644 --- a/config/gem_tlc.yaml +++ b/config/gem_tlc.yaml @@ -48,3 +48,4 @@ alarms: component: DL1 restrict_testing: sxl_version: 1.2 + core_version: 3.1.3 diff --git a/spec/site/tlc/io_spec.rb b/spec/site/tlc/io_spec.rb index abe08749..14826eb7 100644 --- a/spec/site/tlc/io_spec.rb +++ b/spec/site/tlc/io_spec.rb @@ -11,7 +11,7 @@ # 1. Given the site is connected # 2. When we read input with S0029 # 3. Then we should receive a valid response - specify 'is read with S0003' do |example| + specify 'is read with S0003', sxl: '<1.2' do |example| Validator::Site.connected do |task,supervisor,site| request_status_and_confirm site, "input status", { S0003: [:inputstatus] } @@ -99,7 +99,7 @@ # 2. When we subscribe to S0004 # 3. We should receive a status updated # 4. And the outputstatus attribute should be a digit string - specify 'is read with S0004', sxl: '>=1.0.7' do |example| + specify 'is read with S0004', sxl: ['>=1.0.7','<1.2'] do |example| Validator::Site.connected do |task,supervisor,site| prepare task, site request_status_and_confirm site, "output status",