dstandish commented on code in PR #27526:
URL: https://github.com/apache/airflow/pull/27526#discussion_r1015195525


##########
kubernetes_tests/test_kubernetes_pod_operator.py:
##########
@@ -79,17 +77,14 @@ def get_kubeconfig_path():
 
 def get_label():
     test = os.environ.get("PYTEST_CURRENT_TEST")
+    test = test.split(" ")[0]  # if invoked from setup, will have suffix ' 
(setup)', e.g.
     label = "".join(filter(str.isalnum, test)).lower()
-    return label[-63]
+    return label[-63:]

Review Comment:
   ... as a result, looking at just this one character was unreliable. here we 
also make it longer so it's more meaningful.



-- 
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