fix storage unit tests
This commit is contained in:
parent
73030c13dc
commit
ab81d4c1b1
@ -1091,7 +1091,11 @@ func TestDCAPCloses(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestSealAndVerifySynth(t *testing.T) {
|
func TestSealAndVerifySynth(t *testing.T) {
|
||||||
|
origSealProofType := sealProofType
|
||||||
sealProofType = abi.RegisteredSealProof_StackedDrg2KiBV1_1_Feat_SyntheticPoRep
|
sealProofType = abi.RegisteredSealProof_StackedDrg2KiBV1_1_Feat_SyntheticPoRep
|
||||||
|
t.Cleanup(func() {
|
||||||
|
sealProofType = origSealProofType
|
||||||
|
})
|
||||||
|
|
||||||
if testing.Short() {
|
if testing.Short() {
|
||||||
t.Skip("skipping test in short mode")
|
t.Skip("skipping test in short mode")
|
||||||
|
Loading…
Reference in New Issue
Block a user