Skip to content

Commit

Permalink
In unit tests, make huge prop a little larger than size limit.
Browse files Browse the repository at this point in the history
  • Loading branch information
notoraptor committed Apr 18, 2024
1 parent b28ebb0 commit 63a8503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clockwork_web_test/test_rest_job_user_props.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def test_jobs_user_props_delete(client, valid_rest_auth_headers, fake_data):
def test_size_limit_for_jobs_user_props_set(client, valid_rest_auth_headers, fake_data):
job_id, cluster_name, original_props = _get_test_user_props(fake_data)
assert "other name" not in original_props
huge_text = "x" * MAX_PROPS_LENGTH
huge_text = "x" * (MAX_PROPS_LENGTH + 1)
response = client.put(
f"/api/v1/clusters/jobs/user_props/set",
json={
Expand Down

0 comments on commit 63a8503

Please sign in to comment.