[ 
https://issues.apache.org/jira/browse/HADOOP-19500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17935414#comment-17935414
 ] 

ASF GitHub Bot commented on HADOOP-19500:
-----------------------------------------

stoty commented on code in PR #7503:
URL: https://github.com/apache/hadoop/pull/7503#discussion_r1994810285


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/monitor/invariants/TestMetricsInvariantChecker.java:
##########
@@ -30,8 +30,11 @@
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.Timeout;
 
+import static org.junit.Assume.assumeNotNull;

Review Comment:
   Thank you.
   Fixed.





> Skip tests that require JavaScript engine when it's not available
> -----------------------------------------------------------------
>
>                 Key: HADOOP-19500
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19500
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Istvan Toth
>            Priority: Major
>              Labels: pull-request-available
>
> Some features require a JavaScript engine, which has been removed from JDK.
> Skip those tests if JavaScript is not available.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to