Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flaky test by using JSONAssert #2881

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

akilkarthikeyan
Copy link

Q                       A
Fixed Issues?
Patch: Bug Fix? Yes
Minor: New Feature? No
Major: Breaking Change? No
Tests Added + Pass? N/A
Documentation Provided Yes (code comments and or markdown)
Any Dependency Changes? Yes (added jsonassert)
License Apache License, Version 2.0

Description

How was this tested?

  • Version of aem-core-wcm-components
    SHA: 5f29cc
  • JVM Version
    openjdk 11.0.24 2024-07-16
    OpenJDK Runtime Environment (build 11.0.24+8-post-Ubuntu-1ubuntu322.04)
    OpenJDK 64-Bit Server VM (build 11.0.24+8-post-Ubuntu-1ubuntu322.04, mixed mode, sharing)
    
  • The way to reproduce the flaky test failure
    1. Clone the repo:
      https://github.com/adobe/aem-core-wcm-components
      cd aem-core-wcm-components
      
    2. Run with NonDex tool
      mvn install -pl core -am -DskipTests
      mvn -pl bundles/core edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.adobe.cq.wcm.core.components.internal.models.v2.PageImplTest#testPage
      
    3. Test failure screenshot:
      image

Copy link

sonarqubecloud bot commented Oct 5, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant