Priyanka Awatramani created SLING-11727:
-------------------------------------------
Summary: Test Failures on NonDex
Key: SLING-11727
URL: https://issues.apache.org/jira/browse/SLING-11727
Project: Sling
Issue Type: Bug
Reporter: Priyanka Awatramani
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)