kaxil commented on a change in pull request #15426:
URL: https://github.com/apache/airflow/pull/15426#discussion_r616210656
##########
File path: tests/models/test_pool.py
##########
@@ -102,6 +102,20 @@ def test_infinite_slots(self):
assert 1 == pool.running_slots() # pylint:
disable=no-value-for-parameter
assert 1 == pool.queued_slots() # pylint:
disable=no-value-for-parameter
assert 2 == pool.occupied_slots() # pylint:
disable=no-value-for-parameter
+ assert {
+ "default_pool": {
+ "open": 128,
+ "queued": 0,
+ "total": 128,
+ "running": 0,
+ },
+ "test_pool": {
+ "open": -1,
+ "queued": 1,
+ "running": 1,
+ "total": -1,
Review comment:
-1 does not make sense here
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]