From 1061708ec23230e374ce1e675386a140fc76c0d6 Mon Sep 17 00:00:00 2001 From: Dustin Brody Date: Wed, 11 Sep 2019 13:52:38 +0000 Subject: [PATCH] disable proposer slashing tests only on 64-bit windows (#438) * disable proposer slashing tests only on 64-bit windows * add visible skipped-test output --- ..._fixture_operations_proposer_slashings.nim | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/tests/official/test_fixture_operations_proposer_slashings.nim b/tests/official/test_fixture_operations_proposer_slashings.nim index a77a59007..7729af487 100644 --- a/tests/official/test_fixture_operations_proposer_slashings.nim +++ b/tests/official/test_fixture_operations_proposer_slashings.nim @@ -64,13 +64,18 @@ template runTest(identifier: untyped) = `testImpl_proposer_slashing _ identifier`() suite "Official - Operations - Proposer slashing " & preset(): - runTest(success) - runTest(invalid_sig_1) - runTest(invalid_sig_2) - runTest(invalid_sig_1_and_2) - runTest(invalid_proposer_index) - runTest(epochs_are_different) - runTest(headers_are_same) - runTest(proposer_is_not_activated) - runTest(proposer_is_slashed) - runTest(proposer_is_withdrawn) + # TODO https://github.com/status-im/nim-beacon-chain/issues/435 + # CI Win64 - "The parameter is incorrect" + when not (defined(windows) and sizeof(int) == 8): + runTest(success) + runTest(invalid_sig_1) + runTest(invalid_sig_2) + runTest(invalid_sig_1_and_2) + runTest(invalid_proposer_index) + runTest(epochs_are_different) + runTest(headers_are_same) + runTest(proposer_is_not_activated) + runTest(proposer_is_slashed) + runTest(proposer_is_withdrawn) + else: + echo "Skipped for Windows 64-bit CI"