diff --git a/nomad/mock/mock.go b/nomad/mock/mock.go index 310a22812..a6eb5606c 100644 --- a/nomad/mock/mock.go +++ b/nomad/mock/mock.go @@ -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, + }, + }, }, }, },