You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Priyanka Awatramani (Jira)" <ji...@apache.org> on 2022/12/11 10:48:00 UTC
[jira] [Updated] (SLING-11727) Test Failures on NonDex
[ https://issues.apache.org/jira/browse/SLING-11727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Priyanka Awatramani updated SLING-11727:
----------------------------------------
Description:
The tests *JsonRendererTest#testBooleansNoTidy* and *JsonRendererTest#testBooleansNoTidy#testBooleansWithTidy* passed using normal maven-test, but showed Non-deterministic behavior under NonDex([https://github.com/TestingResearchIllinois/NonDex)] and thus failed. After some probing, I found the output from the test is not deterministic.
Steps to reproduce the failure:
Install Nondex([https://github.com/TestingResearchIllinois/NonDex)] in the environment.
Then cd to nifi repository, and run the following:
{code:java}
mvn install -pl . -am -DskipTests
mvn -pl . test -Dtest=org.apache.sling.servlets.get.impl.helpers.JsonRendererTest#testBooleansNoTidy
mvn -pl . edu.illinois:nondex-maven-plugin:2.1:nondex -Dtest=org.apache.sling.servlets.get.impl.helpers.JsonRendererTest#testBooleansNoTidy{code}
was:
The tests *JsonRendererTest#testBooleansNoTidy* and ** *JsonRendererTest#testBooleansNoTidy#testBooleansWithTidy* passed using normal maven-test, but showed Non-deterministic behavior under NonDex([https://github.com/TestingResearchIllinois/NonDex)] and thus failed. After some probing, I found the output from the test is not deterministic.
Steps to reproduce the failure:
Install Nondex([https://github.com/TestingResearchIllinois/NonDex)] in the environment.
Then cd to nifi repository, and run the following:
{code:java}
mvn install -pl . -am -DskipTests
mvn -pl . test -Dtest=org.apache.sling.servlets.get.impl.helpers.JsonRendererTest#testBooleansNoTidy
mvn -pl . edu.illinois:nondex-maven-plugin:2.1:nondex -Dtest=org.apache.sling.servlets.get.impl.helpers.JsonRendererTest#testBooleansNoTidy{code}
> Test Failures on NonDex
> -----------------------
>
> Key: SLING-11727
> URL: https://issues.apache.org/jira/browse/SLING-11727
> Project: Sling
> Issue Type: Bug
> Reporter: Priyanka Awatramani
> Priority: Trivial
>
> The tests *JsonRendererTest#testBooleansNoTidy* and *JsonRendererTest#testBooleansNoTidy#testBooleansWithTidy* passed using normal maven-test, but showed Non-deterministic behavior under NonDex([https://github.com/TestingResearchIllinois/NonDex)] and thus failed. After some probing, I found the output from the test is not deterministic.
>
> Steps to reproduce the failure:
> Install Nondex([https://github.com/TestingResearchIllinois/NonDex)] in the environment.
> Then cd to nifi repository, and run the following:
> {code:java}
> mvn install -pl . -am -DskipTests
> mvn -pl . test -Dtest=org.apache.sling.servlets.get.impl.helpers.JsonRendererTest#testBooleansNoTidy
> mvn -pl . edu.illinois:nondex-maven-plugin:2.1:nondex -Dtest=org.apache.sling.servlets.get.impl.helpers.JsonRendererTest#testBooleansNoTidy{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)