better upgrade test times
This commit is contained in:
parent
a57288a4b9
commit
f1e5e9fe72
@ -117,10 +117,9 @@ func pledgeSectors(t *testing.T, ctx context.Context, miner TestStorageNode, n,
|
|||||||
|
|
||||||
func TestWindowPost(t *testing.T, b APIBuilder, blocktime time.Duration, nSectors int) {
|
func TestWindowPost(t *testing.T, b APIBuilder, blocktime time.Duration, nSectors int) {
|
||||||
for _, height := range []abi.ChainEpoch{
|
for _, height := range []abi.ChainEpoch{
|
||||||
1, // before
|
1, // before
|
||||||
162, // while sealing
|
162, // while sealing
|
||||||
3000, // while proving
|
5000, // while proving
|
||||||
10_000, // after
|
|
||||||
} {
|
} {
|
||||||
t.Run(fmt.Sprintf("upgrade-%d", height), func(t *testing.T) {
|
t.Run(fmt.Sprintf("upgrade-%d", height), func(t *testing.T) {
|
||||||
testWindowPostUpgrade(t, b, blocktime, nSectors, height)
|
testWindowPostUpgrade(t, b, blocktime, nSectors, height)
|
||||||
|
Loading…
Reference in New Issue
Block a user