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

Enable SearchableSnapshotIT to run during build #5937

Conversation

andrross
Copy link
Member

Previously this test required the feature flag to be set as a system property, otherwise the test did nothing. This change programmatically sets the feature flag to allow the test to run during all builds. I ran the following command overnight (probably at least a couple thousand iterations) on a dev machine and saw no failures, so I have confidence this test is not flaky:

run-one-until-failure ./gradlew ':server:internalClusterTest' --tests "org.opensearch.snapshots.SearchableSnapshotIT"

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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.

@kotwanikunal kotwanikunal added skip-changelog backport 2.x Backport to 2.x branch labels Jan 19, 2023
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

Previously this test required the feature flag to be set as a system
property, otherwise the test did nothing. This change programmatically
sets the feature flag to allow the test to run during all builds.
I ran the following command overnight (probably at least a couple
thousand iterations) on a dev machine and saw no failures, so I have
confidence this test is not flaky:

```
run-one-until-failure ./gradlew ':server:internalClusterTest' --tests "org.opensearch.snapshots.SearchableSnapshotIT"
```

Signed-off-by: Andrew Ross <andrross@amazon.com>
@andrross andrross force-pushed the enable-searchable-snapshot-integ-tests branch from 09b4d98 to 7d5bc15 Compare January 19, 2023 18:11
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@kotwanikunal kotwanikunal merged commit 901cd69 into opensearch-project:main Jan 19, 2023
@kotwanikunal kotwanikunal removed the backport 2.x Backport to 2.x branch label Jan 19, 2023
@kotwanikunal kotwanikunal added the backport 2.x Backport to 2.x branch label Jan 19, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 19, 2023
Previously this test required the feature flag to be set as a system
property, otherwise the test did nothing. This change programmatically
sets the feature flag to allow the test to run during all builds.
I ran the following command overnight (probably at least a couple
thousand iterations) on a dev machine and saw no failures, so I have
confidence this test is not flaky:

```
run-one-until-failure ./gradlew ':server:internalClusterTest' --tests "org.opensearch.snapshots.SearchableSnapshotIT"
```

Signed-off-by: Andrew Ross <andrross@amazon.com>

Signed-off-by: Andrew Ross <andrross@amazon.com>
(cherry picked from commit 901cd69)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
kotwanikunal pushed a commit that referenced this pull request Jan 19, 2023
Previously this test required the feature flag to be set as a system
property, otherwise the test did nothing. This change programmatically
sets the feature flag to allow the test to run during all builds.
I ran the following command overnight (probably at least a couple
thousand iterations) on a dev machine and saw no failures, so I have
confidence this test is not flaky:

```
run-one-until-failure ./gradlew ':server:internalClusterTest' --tests "org.opensearch.snapshots.SearchableSnapshotIT"
```

Signed-off-by: Andrew Ross <andrross@amazon.com>

Signed-off-by: Andrew Ross <andrross@amazon.com>
(cherry picked from commit 901cd69)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
andrross pushed a commit that referenced this pull request Jan 20, 2023
Previously this test required the feature flag to be set as a system
property, otherwise the test did nothing. This change programmatically
sets the feature flag to allow the test to run during all builds.
I ran the following command overnight (probably at least a couple
thousand iterations) on a dev machine and saw no failures, so I have
confidence this test is not flaky:

```
run-one-until-failure ./gradlew ':server:internalClusterTest' --tests "org.opensearch.snapshots.SearchableSnapshotIT"
```

Signed-off-by: Andrew Ross <andrross@amazon.com>

Signed-off-by: Andrew Ross <andrross@amazon.com>
(cherry picked from commit 901cd69)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@andrross andrross deleted the enable-searchable-snapshot-integ-tests branch January 20, 2023 18:14
kotwanikunal pushed a commit that referenced this pull request Jan 25, 2023
Previously this test required the feature flag to be set as a system
property, otherwise the test did nothing. This change programmatically
sets the feature flag to allow the test to run during all builds.
I ran the following command overnight (probably at least a couple
thousand iterations) on a dev machine and saw no failures, so I have
confidence this test is not flaky:

```
run-one-until-failure ./gradlew ':server:internalClusterTest' --tests "org.opensearch.snapshots.SearchableSnapshotIT"
```

Signed-off-by: Andrew Ross <andrross@amazon.com>

Signed-off-by: Andrew Ross <andrross@amazon.com>
(cherry picked from commit 901cd69)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants