You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/12/15 21:18:00 UTC

[jira] [Resolved] (SLING-11727) Test Failures on NonDex

     [ https://issues.apache.org/jira/browse/SLING-11727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus resolved SLING-11727.
-------------------------------------
    Resolution: Fixed

Fixed in https://github.com/apache/sling-org-apache-sling-servlets-get/commit/bbf043e6d39f1fcc752311f64d858f43b4f2cd4e.

[~priyanka_a] Thanks for the PR.

> 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
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> 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)