TestMulticoreSDR: Setup rust logger after envvar check

This commit is contained in:
Łukasz Magiera 2021-06-15 17:59:46 +02:00
parent 6b0aed9317
commit c7c593c74e

View File

@ -882,12 +882,12 @@ func setupLogger(t *testing.T) *bytes.Buffer {
}
func TestMulticoreSDR(t *testing.T) {
rustLogger := setupLogger(t)
if os.Getenv("TEST_RUSTPROOFS_LOGS") != "1" {
t.Skip("skipping test without TEST_RUSTPROOFS_LOGS=1")
}
rustLogger := setupLogger(t)
getGrothParamFileAndVerifyingKeys(sectorSize)
dir, err := ioutil.TempDir("", "sbtest")