mock: use network resources
This commit is contained in:
parent
c6f5a8e029
commit
13815fb733
|
@ -82,6 +82,12 @@ func Job() *structs.Job {
|
|||
Resources: &structs.Resources{
|
||||
CPU: 0.5,
|
||||
MemoryMB: 256,
|
||||
Networks: []*structs.NetworkResource{
|
||||
&structs.NetworkResource{
|
||||
MBits: 50,
|
||||
DynamicPorts: 1,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue