Skip to content

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Aug 22, 2019

The sql project uses a common set of security tests, which are run in
subprojects. Currently these are shared through a shared directory, but
this is not setup correctly to ensure it is built before tests run. This
commit changes the test classes to be an artifact of the sql/qa/security
project and makes the test runner use the built artifact (a directory of
classes) for tests.

closes #45866

The sql project uses a common set of security tests, which are run in
subprojects. Currently these are shared through a shared directory, but
this is not setup correctly to ensure it is built before tests run. This
commit changes the test classes to be an artifact of the sql/qa/security
project and makes the test runner use the built artifact (a directory of
classes) for tests.

closes elastic#45866
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Contributor

@alpar-t alpar-t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pcsanwald pcsanwald added v6.8.4 and removed v6.8.3 labels Aug 29, 2019
@rjernst
Copy link
Member Author

rjernst commented Aug 30, 2019

@elasticmachine run elasticsearch-ci/1

@colings86 colings86 added v7.5.0 and removed v7.4.0 labels Aug 30, 2019
@rjernst
Copy link
Member Author

rjernst commented Aug 30, 2019

@elasticmachine run elasticsearch-ci/1

@rjernst rjernst added v7.4.1 and removed v7.3.2 labels Aug 30, 2019
Copy link
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment, otherwise changes LGTM 👍

user username: "test_admin", password: "x-pack-test-password"
}

File testArtifactsDir = project.file('build/testArtifacts')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use $buildDir instead of hard-coding build.

@rjernst rjernst merged commit e2977dc into elastic:master Sep 11, 2019
@rjernst rjernst deleted the sql_dep_fix branch September 11, 2019 17:55
rjernst added a commit that referenced this pull request Sep 11, 2019
The sql project uses a common set of security tests, which are run in
subprojects. Currently these are shared through a shared directory, but
this is not setup correctly to ensure it is built before tests run. This
commit changes the test classes to be an artifact of the sql/qa/security
project and makes the test runner use the built artifact (a directory of
classes) for tests.

closes #45866
@colings86 colings86 added v7.4.0 and removed v7.4.1 labels Sep 17, 2019
rjernst added a commit that referenced this pull request Sep 30, 2019
The sql project uses a common set of security tests, which are run in
subprojects. Currently these are shared through a shared directory, but
this is not setup correctly to ensure it is built before tests run. This
commit changes the test classes to be an artifact of the sql/qa/security
project and makes the test runner use the built artifact (a directory of
classes) for tests.

closes #45866
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team v6.8.4 v7.4.0 v7.5.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] JdbcSqlSpecIT and JdbcCsvSpecIT initializationError

7 participants