amoghrajesh commented on code in PR #68133:
URL: https://github.com/apache/airflow/pull/68133#discussion_r3393449711


##########
airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_task_store.py:
##########
@@ -305,6 +305,12 @@ def test_put_overwrites_expiry_on_existing_key(self, 
test_client, time_machine):
         assert resp["value"] == "v2"
         assert resp["expires_at"] is None
 
+    def test_put_value_over_limit_returns_422(self, test_client):
+        # default is 65536 bytes

Review Comment:
   Fixed it. corrected the off-by-one (65536 -> 65535) and added a conf_vars 
parametrize case that sets `max_value_storage_bytes=0` and confirms a large 
value is accepted with 204.
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to