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

added sleep for flaky tests #1436

Closed

Conversation

riysaxen-amzn
Copy link
Collaborator

@riysaxen-amzn riysaxen-amzn commented Feb 19, 2024

Issue 1381

*Added sleep of some 30s to fix integ Test failure -> https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test/detail/integ-test/7884/pipeline/

java.lang.AssertionError: Unexpected status expected:<FORBIDDEN> but was:<NOT_FOUND>

        at __randomizedtesting.SeedInfo.seed([B335CFE7D740BC9:7370413AD3F31CC0]:0)

        at org.junit.Assert.fail(Assert.java:89)

        at org.junit.Assert.failNotEquals(Assert.java:835)

        at org.junit.Assert.assertEquals(Assert.java:120)

        at org.opensearch.alerting.resthandler.SecureMonitorRestApiIT.test create monitor with an user without index read role(SecureMonitorRestApiIT.kt:256)

CheckList:

  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Riya Saxena <[email protected]>
@riysaxen-amzn riysaxen-amzn deleted the integTestFix branch April 17, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants