diff --git a/jobspec/parse_test.go b/jobspec/parse_test.go index e8f8821c7..d429551dc 100644 --- a/jobspec/parse_test.go +++ b/jobspec/parse_test.go @@ -128,7 +128,6 @@ func TestParse(t *testing.T) { Resources: &structs.Resources{ CPU: 500, MemoryMB: 128, - DiskMB: 300, IOPS: 0, Networks: []*structs.NetworkResource{ &structs.NetworkResource{ @@ -173,7 +172,6 @@ func TestParse(t *testing.T) { Resources: &structs.Resources{ CPU: 500, MemoryMB: 128, - DiskMB: 300, IOPS: 30, }, Constraints: []*structs.Constraint{ @@ -372,7 +370,6 @@ func TestParse(t *testing.T) { Resources: &structs.Resources{ CPU: 100, MemoryMB: 10, - DiskMB: 300, IOPS: 0, }, LogConfig: &structs.LogConfig{ diff --git a/nomad/structs/structs_test.go b/nomad/structs/structs_test.go index 21de9343e..214788529 100644 --- a/nomad/structs/structs_test.go +++ b/nomad/structs/structs_test.go @@ -148,7 +148,6 @@ func testJob() *Job { Resources: &Resources{ CPU: 500, MemoryMB: 256, - DiskMB: 20, Networks: []*NetworkResource{ &NetworkResource{ MBits: 50,