Setup integration tests and CI #11

Merged
ashwin merged 11 commits from pm-add-tests into main 2024-02-29 11:54:36 +00:00
3 changed files with 7 additions and 2 deletions
Showing only changes of commit 28d6dff46c - Show all commits

View File

@ -12,3 +12,9 @@ Install and run `laconic2d`:
# start the chain
laconic2d start
```
Run tests:
```bash
make test-integration
```

View File

@ -106,7 +106,7 @@ func NewRootCmd() *cobra.Command {
// overwrite the block timeout
cmtCfg := cmtcfg.DefaultConfig()
cmtCfg.Consensus.TimeoutCommit = 3 * time.Second
cmtCfg.LogLevel = "*:error,p2p:info,state:info" // better default logging
cmtCfg.LogLevel = "*:error,p2p:info,state:info,auction:info,bond:info,registry:info" // better default logging
return server.InterceptConfigsPreRunHandler(cmd, serverconfig.DefaultConfigTemplate, srvCfg, cmtCfg)
},

View File

@ -3,7 +3,6 @@
rm -r ~/.laconic2d || true
LACONIC2D_BIN=$(which laconic2d)
# configure laconic2d
$LACONIC2D_BIN config set config log_level "*:error,p2p:info,state:info,auction:info,bond:info,registry:info" --skip-validate
$LACONIC2D_BIN config set client chain-id demo
$LACONIC2D_BIN config set client keyring-backend test
$LACONIC2D_BIN keys add alice