Dev-iL commented on code in PR #75381:
URL: https://github.com/apache/airflow/pull/75381#discussion_r4671037514
##########
shared/state/tests/state/test_state.py:
##########
@@ -253,3 +257,25 @@ async def test_aget_value(self, stored, expected):
backend = _StoredValueBackend(stored)
assert await backend.aget_value(AssetScope(name="asset"), "key") ==
expected
+
+ @pytest.mark.asyncio
+ @pytest.mark.parametrize("stored", ['{"a": [1]}', "invalid"])
Review Comment:
Dropped the malformed JSON case and the conditional. The test still checks
the decoded value and verifies that decoding runs in a worker thread.
--
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]