TestMulticoreSDR: Setup rust logger after envvar check
This commit is contained in:
parent
6b0aed9317
commit
c7c593c74e
@ -882,12 +882,12 @@ func setupLogger(t *testing.T) *bytes.Buffer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestMulticoreSDR(t *testing.T) {
|
func TestMulticoreSDR(t *testing.T) {
|
||||||
rustLogger := setupLogger(t)
|
|
||||||
|
|
||||||
if os.Getenv("TEST_RUSTPROOFS_LOGS") != "1" {
|
if os.Getenv("TEST_RUSTPROOFS_LOGS") != "1" {
|
||||||
t.Skip("skipping test without TEST_RUSTPROOFS_LOGS=1")
|
t.Skip("skipping test without TEST_RUSTPROOFS_LOGS=1")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rustLogger := setupLogger(t)
|
||||||
|
|
||||||
getGrothParamFileAndVerifyingKeys(sectorSize)
|
getGrothParamFileAndVerifyingKeys(sectorSize)
|
||||||
|
|
||||||
dir, err := ioutil.TempDir("", "sbtest")
|
dir, err := ioutil.TempDir("", "sbtest")
|
||||||
|
Loading…
Reference in New Issue
Block a user