mock: use network resources

This commit is contained in:
Armon Dadgar 2015-09-13 16:40:31 -07:00
parent c6f5a8e029
commit 13815fb733
1 changed files with 6 additions and 0 deletions

View File

@ -82,6 +82,12 @@ func Job() *structs.Job {
Resources: &structs.Resources{ Resources: &structs.Resources{
CPU: 0.5, CPU: 0.5,
MemoryMB: 256, MemoryMB: 256,
Networks: []*structs.NetworkResource{
&structs.NetworkResource{
MBits: 50,
DynamicPorts: 1,
},
},
}, },
}, },
}, },