feat: itests should run on latest network version
This commit is contained in:
parent
df80c4cde2
commit
4ff1d1dc8d
@ -992,6 +992,8 @@ workflows:
|
||||
- build
|
||||
suite: itest-wdpost
|
||||
target: "./itests/wdpost_test.go"
|
||||
get-params: true
|
||||
|
||||
- test:
|
||||
name: test-itest-wdpost_worker_config
|
||||
requires:
|
||||
|
@ -547,6 +547,9 @@ workflows:
|
||||
[[- if or (eq $name "worker") (eq $name "deals_concurrent") (eq $name "wdpost_worker_config")]]
|
||||
executor: golang-2xl
|
||||
[[- end]]
|
||||
[[- if (eq $name "wdpost")]]
|
||||
get-params: true
|
||||
[[end]]
|
||||
[[- end ]][[- end]]
|
||||
|
||||
[[- range $suite, $pkgs := .UnitSuites]]
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -26,17 +26,13 @@ const UnixfsLinksPerLevel = 1024
|
||||
|
||||
const AllowableClockDriftSecs = uint64(1)
|
||||
|
||||
// TODO: nv19: Re-enable when migration is setup
|
||||
//// Used by tests and some obscure tooling
|
||||
///* inline-gen template
|
||||
//
|
||||
//const TestNetworkVersion = network.Version{{.latestNetworkVersion}}
|
||||
//
|
||||
///* inline-gen start */
|
||||
// Used by tests and some obscure tooling
|
||||
/* inline-gen template
|
||||
const TestNetworkVersion = network.Version{{.latestNetworkVersion}}
|
||||
/* inline-gen start */
|
||||
const TestNetworkVersion = network.Version20
|
||||
|
||||
const TestNetworkVersion = network.Version18
|
||||
|
||||
///* inline-gen end */
|
||||
/* inline-gen end */
|
||||
|
||||
// Epochs
|
||||
const ForkLengthThreshold = Finality
|
||||
|
@ -474,7 +474,7 @@ Inputs:
|
||||
],
|
||||
"Bw==",
|
||||
10101,
|
||||
18
|
||||
20
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -4727,7 +4727,7 @@ Perms: read
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
18
|
||||
20
|
||||
]
|
||||
```
|
||||
|
||||
@ -4742,7 +4742,7 @@ Perms: read
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
18
|
||||
20
|
||||
]
|
||||
```
|
||||
|
||||
@ -6368,7 +6368,7 @@ Inputs:
|
||||
]
|
||||
```
|
||||
|
||||
Response: `18`
|
||||
Response: `20`
|
||||
|
||||
### StateReadState
|
||||
StateReadState returns the indicated actor's state.
|
||||
|
@ -6152,7 +6152,7 @@ Perms: read
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
18
|
||||
20
|
||||
]
|
||||
```
|
||||
|
||||
@ -6167,7 +6167,7 @@ Perms: read
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
18
|
||||
20
|
||||
]
|
||||
```
|
||||
|
||||
@ -7876,7 +7876,7 @@ Inputs:
|
||||
]
|
||||
```
|
||||
|
||||
Response: `18`
|
||||
Response: `20`
|
||||
|
||||
### StateReadState
|
||||
StateReadState returns the indicated actor's state.
|
||||
|
@ -38,26 +38,25 @@ func SDRUpgradeAt(calico, persian abi.ChainEpoch) EnsembleOpt {
|
||||
}
|
||||
|
||||
func LatestActorsAt(upgradeHeight abi.ChainEpoch) EnsembleOpt {
|
||||
// TODO: nv19: Re-enable when migration is setup
|
||||
///* inline-gen template
|
||||
// return UpgradeSchedule(stmgr.Upgrade{
|
||||
// Network: network.Version{{add .latestNetworkVersion -1}},
|
||||
// Height: -1,
|
||||
// }, stmgr.Upgrade{
|
||||
// Network: network.Version{{.latestNetworkVersion}},
|
||||
// Height: upgradeHeight,
|
||||
// Migration: filcns.UpgradeActorsV{{.latestActorsVersion}},
|
||||
// })
|
||||
///* inline-gen start */
|
||||
/* inline-gen template
|
||||
return UpgradeSchedule(stmgr.Upgrade{
|
||||
Network: network.Version17,
|
||||
Network: network.Version{{add .latestNetworkVersion -1}},
|
||||
Height: -1,
|
||||
}, stmgr.Upgrade{
|
||||
Network: network.Version18,
|
||||
Network: network.Version{{.latestNetworkVersion}},
|
||||
Height: upgradeHeight,
|
||||
Migration: filcns.UpgradeActorsV10,
|
||||
Migration: filcns.UpgradeActorsV{{.latestActorsVersion}},
|
||||
})
|
||||
///* inline-gen end */
|
||||
/* inline-gen start */
|
||||
return UpgradeSchedule(stmgr.Upgrade{
|
||||
Network: network.Version19,
|
||||
Height: -1,
|
||||
}, stmgr.Upgrade{
|
||||
Network: network.Version20,
|
||||
Height: upgradeHeight,
|
||||
Migration: filcns.UpgradeActorsV11,
|
||||
})
|
||||
/* inline-gen end */
|
||||
}
|
||||
|
||||
func TurboUpgradeAt(upgradeHeight abi.ChainEpoch) EnsembleOpt {
|
||||
|
@ -57,9 +57,6 @@ func TestWindowedPost(t *testing.T) {
|
||||
|
||||
func testWindowPostUpgrade(t *testing.T, blocktime time.Duration, nSectors int, upgradeHeight abi.ChainEpoch) {
|
||||
|
||||
/// XXX TEMPORARILY DISABLED UNTIL NV18 MIGRATION IS IMPLEMENTED
|
||||
t.Skip("temporarily disabled as nv18 migration is not yet implemented")
|
||||
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user