diff --git a/src/modules/job-ingest/schemas/jobspec.jsonschema b/src/modules/job-ingest/schemas/jobspec.jsonschema index fa06a46a9b3a..5c5e790fdbd2 100644 --- a/src/modules/job-ingest/schemas/jobspec.jsonschema +++ b/src/modules/job-ingest/schemas/jobspec.jsonschema @@ -9,7 +9,7 @@ "complex_range": { "description": "a complex range of numbers", "type": "object", - "required":["min", "max", "operator", "operand"], + "required":["min", "max"], "properties":{ "min": { "type": "integer", "minimum" : 1 }, "max": { "type": "integer", "minimum" : 1 }, diff --git a/t/jobspec/invalid/resource_count_missing_operand.yaml b/t/jobspec/invalid/resource_count_missing_operand.yaml deleted file mode 100644 index 5399b1535ed9..000000000000 --- a/t/jobspec/invalid/resource_count_missing_operand.yaml +++ /dev/null @@ -1,17 +0,0 @@ -version: 1 -resources: - - type: slot - count: - min: 1 - max: 2 - operator: "+" - label: foo - with: - - type: node - count: 1 -tasks: - - command: app - slot: foo - count: - per_slot: 1 -attributes: diff --git a/t/jobspec/invalid/resource_count_missing_operator.yaml b/t/jobspec/invalid/resource_count_missing_operator.yaml deleted file mode 100644 index 1cd06d338270..000000000000 --- a/t/jobspec/invalid/resource_count_missing_operator.yaml +++ /dev/null @@ -1,17 +0,0 @@ -version: 1 -resources: - - type: slot - count: - min: 1 - max: 2 - operand: 1 - label: foo - with: - - type: node - count: 1 -tasks: - - command: app - slot: foo - count: - per_slot: 1 -attributes: