add composition with mock randomness

This commit is contained in:
Yusef Napora 2020-06-25 11:07:53 -04:00
parent 75ff8d0689
commit 3f15146c19
2 changed files with 80 additions and 12 deletions

View File

@ -0,0 +1,75 @@
[metadata]
name = "lotus-soup"
author = ""
[global]
plan = "lotus-soup"
case = "lotus-baseline"
total_instances = 6
builder = "docker:go"
runner = "local:docker"
[[groups]]
id = "bootstrapper"
[groups.resources]
memory = "120Mi"
cpu = "10m"
[groups.instances]
count = 1
percentage = 0.0
[groups.run]
[groups.run.test_params]
role = "bootstrapper"
clients = "1"
miners = "1"
balance = "2000"
sectors = "10"
random_beacon_type = "local-drand"
[[groups]]
id = "miners"
[groups.resources]
memory = "120Mi"
cpu = "10m"
[groups.instances]
count = 1
percentage = 0.0
[groups.run]
[groups.run.test_params]
role = "miner"
clients = "1"
miners = "1"
balance = "2000"
sectors = "10"
random_beacon_type = "local-drand"
[[groups]]
id = "clients"
[groups.resources]
memory = "120Mi"
cpu = "10m"
[groups.instances]
count = 1
percentage = 0.0
[groups.run]
[groups.run.test_params]
role = "client"
clients = "1"
miners = "1"
balance = "2000"
sectors = "10"
random_beacon_type = "local-drand"
[[groups]]
id = "drand"
[groups.resources]
memory = "120Mi"
cpu = "10m"
[groups.instances]
count = 3
percentage = 0.0
[groups.run]
[groups.run.test_params]
role = "drand"

View File

@ -5,7 +5,7 @@
[global]
plan = "lotus-soup"
case = "lotus-baseline"
total_instances = 6
total_instances = 3
builder = "docker:go"
runner = "local:docker"
@ -24,6 +24,7 @@
miners = "1"
balance = "2000000000"
sectors = "10"
random_beacon_type = "mock"
[[groups]]
id = "miners"
@ -40,6 +41,8 @@
miners = "1"
balance = "2000000000"
sectors = "10"
random_beacon_type = "mock"
[[groups]]
id = "clients"
@ -56,15 +59,5 @@
miners = "1"
balance = "2000000000"
sectors = "10"
random_beacon_type = "mock"
[[groups]]
id = "drand"
[groups.resources]
memory = "120Mi"
cpu = "10m"
[groups.instances]
count = 3
percentage = 0.0
[groups.run]
[groups.run.test_params]
role = "drand"