Run TestMulticoreSDR on Circle

This commit is contained in:
Łukasz Magiera 2021-06-15 17:46:06 +02:00
parent 9ae780902a
commit 265afd696e
2 changed files with 14 additions and 2 deletions

View File

@ -133,6 +133,9 @@ jobs:
deadline-test: deadline-test:
type: string type: string
default: "0" default: "0"
proofs-log-test:
type: string
default: "0"
test-suite-name: test-suite-name:
type: string type: string
default: unit default: unit
@ -167,6 +170,7 @@ jobs:
environment: environment:
LOTUS_TEST_WINDOW_POST: << parameters.winpost-test >> LOTUS_TEST_WINDOW_POST: << parameters.winpost-test >>
LOTUS_TEST_DEADLINE_TOGGLING: << parameters.deadline-test >> LOTUS_TEST_DEADLINE_TOGGLING: << parameters.deadline-test >>
TEST_RUSTPROOFS_LOGS: << parameters.proofs-log-test >>
SKIP_CONFORMANCE: "1" SKIP_CONFORMANCE: "1"
command: | command: |
mkdir -p /tmp/test-reports/<< parameters.test-suite-name >> mkdir -p /tmp/test-reports/<< parameters.test-suite-name >>
@ -212,6 +216,8 @@ jobs:
<<: *test <<: *test
test-terminate: test-terminate:
<<: *test <<: *test
check-proofs-multicore-sdr:
<<: *test
test-conformance: test-conformance:
description: | description: |
Run tests using a corpus of interoperable test vectors for Filecoin Run tests using a corpus of interoperable test vectors for Filecoin
@ -815,6 +821,12 @@ workflows:
tags: tags:
only: only:
- /^v\d+\.\d+\.\d+(-rc\d+)?$/ - /^v\d+\.\d+\.\d+(-rc\d+)?$/
- check-proofs-multicore-sdr:
codecov-upload: true
go-test-flags: "-run=TestMulticoreSDR"
test-suite-name: multicore-sdr-check
packages: "./extern/sector-storage/ffiwrapper"
proofs-log-test: "1"
- test-conformance: - test-conformance:
test-suite-name: conformance test-suite-name: conformance
packages: "./conformance" packages: "./conformance"

View File

@ -883,8 +883,8 @@ func TestAddPiece512MPadded(t *testing.T) {
} }
func TestMulticoreSDR(t *testing.T) { func TestMulticoreSDR(t *testing.T) {
if testing.Short() { if os.Getenv("TEST_RUSTPROOFS_LOGS") != "1" {
t.Skip("skipping test in short mode") t.Skip("skipping test without TEST_RUSTPROOFS_LOGS=1")
} }
getGrothParamFileAndVerifyingKeys(sectorSize) getGrothParamFileAndVerifyingKeys(sectorSize)