eladkal commented on code in PR #34879:
URL: https://github.com/apache/airflow/pull/34879#discussion_r1375184574


##########
helm_tests/other/test_redis.py:
##########
@@ -357,6 +357,16 @@ def 
test_should_use_empty_dir_on_persistence_disabled(self, redis_values, expect
         )
         assert {"name": "redis-db", **expected} in 
jmespath.search("spec.template.spec.volumes", docs[0])
 
+    def test_priority_class_name(self):
+        docs = render_chart(
+            values={"redis": {"priorityClassName": 
"airflow-priority-class-name"}},
+            show_only=["templates/redis/redis-statefulset.yaml"],
+        )
+
+        assert "airflow-priority-class-name" == jmespath.search(
+            "spec.template.spec.priorityClassName",
+            docs[0],
+        )
 
 class TestRedisServiceAccount:

Review Comment:
   Try to fix static checks
   
   ```suggestion
           )
   
   
   class TestRedisServiceAccount:
   ```



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to