mock: use network resources

This commit is contained in:
Armon Dadgar 2015-09-13 16:40:31 -07:00
parent c6f5a8e029
commit 13815fb733

View file

@ -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,
},
},
},
},
},