mik-laj commented on a change in pull request #6342: [AIRFLOW-5662] fix 
incorrect naming for scheduler used slot metric
URL: https://github.com/apache/airflow/pull/6342#discussion_r388996128
 
 

 ##########
 File path: tests/models/test_pool.py
 ##########
 @@ -62,7 +62,20 @@ def test_open_slots(self):
         self.assertEqual(3, pool.open_slots())  # pylint: 
disable=no-value-for-parameter
         self.assertEqual(1, pool.used_slots())  # pylint: 
disable=no-value-for-parameter
         self.assertEqual(1, pool.queued_slots())  # pylint: 
disable=no-value-for-parameter
-        self.assertEqual(2, pool.occupied_slots())  # pylint: 
disable=no-value-for-parameter
+        self.assertEqual({
 
 Review comment:
   ```suggestion
           self.assertEqual(2, pool.occupied_slots())  # pylint: 
disable=no-value-for-parameter
           self.assertEqual({
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to