forked from celestiaorg/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.go
31 lines (28 loc) · 1.07 KB
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package main
import (
"github.com/celestiaorg/test-infra/tests/plans/arabica"
bigblocks "github.com/celestiaorg/test-infra/tests/plans/big-blocks"
blockrecon "github.com/celestiaorg/test-infra/tests/plans/block-recon"
pfdgsbn "github.com/celestiaorg/test-infra/tests/plans/pfd-gsbn"
"github.com/testground/sdk-go/run"
)
var testcases = map[string]interface{}{
// Big Blocks Plan
"001-val-large-txs": bigblocks.ValSubmitLargeTxs,
"002-da-sync": bigblocks.SyncNodes,
"003-full-sync-past": bigblocks.FullSyncPast,
"004-full-light-past": bigblocks.FullLightSyncPast,
"005-light-das-past": bigblocks.LightDasPast,
// Pay For Blob & Get Shares by Namespace Plan
// PayForBlobAndGetShares is tracking TestCase key to know
// when to do shares checker scenario
"pay-for-blob": pfdgsbn.PayForBlobAndGetShares,
"get-shares-by-namespace": pfdgsbn.PayForBlobAndGetShares,
// Block Reconstruction Plan
"reconstruction": blockrecon.BlockReconstruction,
// Arabica Nightly Plan
"flood-arabica": arabica.RunLightNode,
}
func main() {
run.InvokeMap(testcases)
}