File tree Expand file tree Collapse file tree 2 files changed +54
-2
lines changed Expand file tree Collapse file tree 2 files changed +54
-2
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,35 @@ jobs:
121121 run : |
122122 cargo test -p linera-service remote_net_grpc --features remote-net
123123
124+ remote-net-test-dualstore :
125+ runs-on : ubuntu-latest-8-cores
126+ timeout-minutes : 40
127+
128+ steps :
129+ - uses : actions/checkout@v3
130+ - uses : actions-rust-lang/setup-rust-toolchain@v1
131+ - name : Install Protoc
132+ uses : arduino/setup-protoc@v1
133+ with :
134+ repo-token : ${{ secrets.GITHUB_TOKEN }}
135+ - name : Setup local ScyllaDB instance
136+ run : |
137+ docker run --name my_scylla_container -d -p 9042:9042 scylladb/scylla:6.1
138+ - name : Run the validators
139+ run : |
140+ cargo build --features rocksdb,scylladb
141+ mkdir /tmp/local-linera-net
142+ cargo run --features rocksdb,scylladb --bin linera -- net up --storage dualrocksdbscylladb:/tmp/local-linera-net/linera.db:spawn_blocking:tcp:localhost:9042 --policy-config testnet --path /tmp/local-linera-net --validators 4 --shards 4 &
143+ - name : Create two epochs and run the faucet
144+ run : |
145+ cargo build --bin linera
146+ cargo run --bin linera -- resource-control-policy --block 0.0000001
147+ cargo run --bin linera -- resource-control-policy --block 0.000000
148+ cargo run --bin linera -- faucet --amount 1000 --port 8079 a3edc33d8e951a1139333be8a4b56646b5598a8f51216e86592d881808972b07 &
149+ - name : Run the remote-net tests
150+ run : |
151+ cargo test -p linera-service remote_net_grpc --features remote-net
152+
124153 execution-wasmtime-test :
125154 runs-on : ubuntu-latest
126155 timeout-minutes : 10
You can’t perform that action at this time.
0 commit comments