Merge branch 'raulk/merge-gs-fix' into raulk/merge-gs-fix-simultaneous-fix

This commit is contained in:
raulk 2021-07-20 17:37:51 +01:00 committed by GitHub
commit 353ccf0c55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,6 @@ import (
"testing"
"time"
"github.com/filecoin-project/lotus/chain/actors/policy"
"github.com/stretchr/testify/require"
datatransfer "github.com/filecoin-project/go-data-transfer"
@ -56,6 +55,7 @@ func TestDealWithMarketAndMinerNode(t *testing.T) {
})
}
// this test is expensive because we don't use mock proofs; do a single cycle.
cycles := []int{4}
for _, n := range cycles {
n := n
@ -100,6 +100,7 @@ func TestDealCyclesConcurrent(t *testing.T) {
})
}
// this test is cheap because we use mock proofs, do various cycles
cycles := []int{2, 4, 8, 16}
for _, n := range cycles {
n := n