[CI] Make JSON output tests less likely to fail (#17859)
Signed-off-by: Russell Bryant <rbryant@redhat.com>
This commit is contained in:
@@ -72,12 +72,14 @@ def sample_json_schema():
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["company", "duration", "position"]
|
||||
"required": ["company", "duration", "position"],
|
||||
"additionalProperties": False
|
||||
}
|
||||
}
|
||||
},
|
||||
"required":
|
||||
["name", "age", "skills", "grade", "email", "work_history"]
|
||||
["name", "age", "skills", "grade", "email", "work_history"],
|
||||
"additionalProperties": False
|
||||
}
|
||||
|
||||
|
||||
@@ -100,7 +102,8 @@ def unsupported_json_schema():
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["score", "tags"]
|
||||
"required": ["score", "tags"],
|
||||
"additionalProperties": False
|
||||
}
|
||||
|
||||
|
||||
@@ -139,7 +142,8 @@ def sample_definition_json_schema():
|
||||
},
|
||||
'required': ['steps', 'final_answer'],
|
||||
'title': 'MathReasoning',
|
||||
'type': 'object'
|
||||
'type': 'object',
|
||||
"additionalProperties": False
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user