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

preserve enum ordering in RecoverySource.Type #10

Closed
wants to merge 1 commit into from

Conversation

parasjain1
Copy link

Description

The test org.opensearch.cluster.routing.RecoverySourceTests#testRecoverySourceTypeOrder was breaking earlier.

java.lang.AssertionError: 
Expected :6
Actual   :5
<Click to see difference>


	at __randomizedtesting.SeedInfo.seed([EF83502050A8577B:2E219DDC7BA88C42]:0)
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:647)
	at org.junit.Assert.assertEquals(Assert.java:633)
	at org.opensearch.cluster.routing.RecoverySourceTests.testRecoverySourceTypeOrder(RecoverySourceTests.java:87)

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@parasjain1 parasjain1 requested a review from gbbafna as a code owner February 5, 2025 13:21
@parasjain1 parasjain1 closed this Feb 5, 2025
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