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 @@ -124,6 +124,35 @@ jobs:
124124 run : |
125125 cargo test -p linera-service remote_net_grpc --features remote-net
126126
127+ remote-net-test-dualstore :
128+ runs-on : ubuntu-latest-8-cores
129+ timeout-minutes : 40
130+
131+ steps :
132+ - uses : actions/checkout@v3
133+ - uses : actions-rust-lang/setup-rust-toolchain@v1
134+ - name : Install Protoc
135+ uses : arduino/setup-protoc@v1
136+ with :
137+ repo-token : ${{ secrets.GITHUB_TOKEN }}
138+ - name : Setup local ScyllaDB instance
139+ run : |
140+ docker run --name my_scylla_container -d -p 9042:9042 scylladb/scylla:6.1
141+ - name : Run the validators
142+ run : |
143+ cargo build --features rocksdb,scylladb
144+ mkdir /tmp/local-linera-net
145+ 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 &
146+ - name : Create two epochs and run the faucet
147+ run : |
148+ cargo build --bin linera
149+ cargo run --bin linera -- resource-control-policy --block 0.0000001
150+ cargo run --bin linera -- resource-control-policy --block 0.000000
151+ cargo run --bin linera -- faucet --amount 1000 --port 8079 a3edc33d8e951a1139333be8a4b56646b5598a8f51216e86592d881808972b07 &
152+ - name : Run the remote-net tests
153+ run : |
154+ cargo test -p linera-service remote_net_grpc --features remote-net
155+
127156 execution-wasmtime-test :
128157 runs-on : ubuntu-latest
129158 timeout-minutes : 10
You can’t perform that action at this time.
0 commit comments