-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Disable KqlQueryBuilderTests on non-snapshots build. #117025
Conversation
Pinging @elastic/search-eng (Team:SearchOrg) |
Pinging @elastic/search-relevance (Team:Search - Relevance) |
x-pack/plugin/kql/build.gradle
Outdated
tasks.named('yamlRestTest').configure { | ||
usesDefaultDistribution() | ||
|
||
/**************************************************************** | ||
* Enable QA/rest integration tests for snapshot builds only * | ||
* TODO: Enable for all builds upon this feature release * | ||
****************************************************************/ | ||
enabled = buildParams.isSnapshotBuild() | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not necessary anymore, since it is controlled by a capability.
@@ -34,6 +36,10 @@ | |||
import static org.hamcrest.Matchers.nullValue; | |||
|
|||
public class KqlQueryBuilderTests extends AbstractQueryTestCase<KqlQueryBuilder> { | |||
@Before |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the following works as well, so it avoids skipping the individual tests?
@Before | |
@BeforeClass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
💔 Backport failed
You can use sqren/backport to manually backport by running |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit 537bba6) # Conflicts: # muted-tests.yml # x-pack/plugin/kql/build.gradle
Fix for #116487