diff --git a/test/spec/runners/finality.ex b/test/spec/runners/finality.ex index 5ba065c3b..99f7a3cc3 100644 --- a/test/spec/runners/finality.ex +++ b/test/spec/runners/finality.ex @@ -20,9 +20,8 @@ defmodule FinalityTestRunner do end @impl TestRunner - def skip?(%SpecTestCase{fork: "deneb", case: _testcase}) do - # TODO: all of them fail - true + def skip?(%SpecTestCase{fork: "deneb", case: testcase}) do + Enum.member?(@disabled_cases, testcase) end @impl TestRunner diff --git a/test/spec/runners/helpers/process_blocks.ex b/test/spec/runners/helpers/process_blocks.ex index a59867d9d..8340f8d8f 100644 --- a/test/spec/runners/helpers/process_blocks.ex +++ b/test/spec/runners/helpers/process_blocks.ex @@ -8,6 +8,7 @@ defmodule Helpers.ProcessBlocks do alias LambdaEthereumConsensus.StateTransition alias LambdaEthereumConsensus.Utils.Diff alias Types.BeaconState + alias Types.SignedBeaconBlock use HardForkAliasInjection @@ -27,7 +28,7 @@ defmodule Helpers.ProcessBlocks do |> Enum.map(fn index -> SpecTestUtils.read_ssz_from_file!( case_dir <> "/blocks_#{index}.ssz_snappy", - Types.SignedBeaconBlock + SignedBeaconBlock ) end) diff --git a/test/spec/runners/random.ex b/test/spec/runners/random.ex index af53a07ea..34533a234 100644 --- a/test/spec/runners/random.ex +++ b/test/spec/runners/random.ex @@ -35,6 +35,11 @@ defmodule RandomTestRunner do true end + @impl TestRunner + def skip?(%SpecTestCase{fork: "deneb", case: testcase}) do + Enum.member?(@disabled_cases, testcase) + end + @impl TestRunner def skip?(_), do: true diff --git a/test/spec/runners/sanity.ex b/test/spec/runners/sanity.ex index 7813b89c9..6e74859db 100644 --- a/test/spec/runners/sanity.ex +++ b/test/spec/runners/sanity.ex @@ -105,9 +105,12 @@ defmodule SanityTestRunner do Enum.member?(@disabled_slot_cases, testcase) end - def skip?(%SpecTestCase{fork: "deneb"}) do - # TODO: all of them fail - true + def skip?(%SpecTestCase{fork: "deneb", handler: "blocks", case: testcase}) do + Enum.member?(@disabled_block_cases, testcase) + end + + def skip?(%SpecTestCase{fork: "deneb", handler: "slots", case: testcase}) do + Enum.member?(@disabled_slot_cases, testcase) end def skip?(_), do: true