-
Notifications
You must be signed in to change notification settings - Fork 274
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
New test framework #1967
New test framework #1967
Commits on Sep 13, 2022
-
Signed-Off-By: Nils Bandener <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1efe734 - Browse repository at this point
Copy the full SHA 1efe734View commit details -
removed abstract base class, prefer composition over inheritance
Signed-off-by: Jochen Kressin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c3ae9a6 - Browse repository at this point
Copy the full SHA c3ae9a6View commit details -
moved Jackson dependencies from test classes to TestRestClient
Signed-off-by: Jochen Kressin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6db0e64 - Browse repository at this point
Copy the full SHA 6db0e64View commit details -
removed unused code, replaced some old ES references
Signed-off-by: Jochen Kressin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fa6c0a - Browse repository at this point
Copy the full SHA 1fa6c0aView commit details -
replaced JUnit asserts with Hamcrest asserts
Signed-off-by: Jochen Kressin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 895e396 - Browse repository at this point
Copy the full SHA 895e396View commit details -
renamed ClusterConfiguration to ClusterManager
Signed-off-by: Jochen Kressin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b4cf9e9 - Browse repository at this point
Copy the full SHA b4cf9e9View commit details -
throw exception if index already exists
Signed-off-by: Jochen Kressin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c79c68e - Browse repository at this point
Copy the full SHA c79c68eView commit details -
Signed-off-by: Jochen Kressin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f94acf - Browse repository at this point
Copy the full SHA 8f94acfView commit details -
Signed-off-by: Jochen Kressin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1cef31 - Browse repository at this point
Copy the full SHA f1cef31View commit details -
TestRestClient uses unchecked exceptions
Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f4dae9 - Browse repository at this point
Copy the full SHA 6f4dae9View commit details -
List of plugins in ClusterManager is immutable.
Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bbf5dc9 - Browse repository at this point
Copy the full SHA bbf5dc9View commit details -
Unused and overloaded version of user method removed from LocalCluste…
… cluss. Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0289749 - Browse repository at this point
Copy the full SHA 0289749View commit details -
Unused constructor removed from class ContextHeaderDecoratorClient
Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f81ccc4 - Browse repository at this point
Copy the full SHA f81ccc4View commit details -
fix build.gradle - new test configuration, dependencies, desable forb…
…iddenApisNewTest Signed-off-by: Kacper Trochimiak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e6179f - Browse repository at this point
Copy the full SHA 3e6179fView commit details -
Try with resources was used to close OpenSearch clinet in the LocalCl…
…uster class. Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f373131 - Browse repository at this point
Copy the full SHA f373131View commit details -
TestCertificates - throw RuntimeException instead of IOException
Signed-off-by: Kacper Trochimiak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d135827 - Browse repository at this point
Copy the full SHA d135827View commit details -
Nodes objects are stored in one list (instead of four) in class Local…
…OpenSearchCluster. Methods which return random node removed. Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 69dfa18 - Browse repository at this point
Copy the full SHA 69dfa18View commit details -
OpenSearch claster is stopped immediatly, without invocations of thre…
…ad sleep. Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c1a35d - Browse repository at this point
Copy the full SHA 9c1a35dView commit details -
rename newTest to integrationTest
Signed-off-by: Kacper Trochimiak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 26f098b - Browse repository at this point
Copy the full SHA 26f098bView commit details -
Method org.opensearch.test.framework.cluster.LocalOpenSearchCluster.N…
…ode#start returns StartStage enum instead of string. Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 69e3d31 - Browse repository at this point
Copy the full SHA 69e3d31View commit details -
Method org.opensearch.test.framework.cluster.LocalCluster.Builder#nod…
…eSettings accepts map instead of varargs. Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 216153e - Browse repository at this point
Copy the full SHA 216153eView commit details -
Method getUnitTestForkNumber removed, system property forkno is no lo…
…nger used. Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85f599f - Browse repository at this point
Copy the full SHA 85f599fView commit details -
ClusterBlockException does not appear in the course of integration te…
…sts. Log4j2 reads configuration from src/integrationTest/resources/log4j2-test.properties Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c32984e - Browse repository at this point
Copy the full SHA c32984eView commit details -
Unused code related to flag trackResources removed from class TestRes…
…tClient. Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5b22c51 - Browse repository at this point
Copy the full SHA 5b22c51View commit details -
Redundant code in method org.opensearch.test.framework.cluster.LocalC…
…luster#after replaced by close() invocation Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 075adfa - Browse repository at this point
Copy the full SHA 075adfaView commit details -
Rename from ClusterConfiguration to ClusterManager finished.
Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f217c35 - Browse repository at this point
Copy the full SHA f217c35View commit details -
Correction in class MinimumSecuritySettingsSupplierFactory to pass ch…
…eckstyle tests, licence header added where missing, test classes moved to proper packages. Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 65df948 - Browse repository at this point
Copy the full SHA 65df948View commit details -
Netty dependencies conflict resolved
Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea4251c - Browse repository at this point
Copy the full SHA ea4251cView commit details -
change version of commons-io:commons-io for test and integrationTest
Signed-off-by: Kacper Trochimiak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 237a49b - Browse repository at this point
Copy the full SHA 237a49bView commit details -
Word master replaced with cluster manager in method and local variabl…
…es names Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c0b23d2 - Browse repository at this point
Copy the full SHA c0b23d2View commit details -
Method LocalOpenSearchCluster#stop simplified.
Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f6a60c - Browse repository at this point
Copy the full SHA 9f6a60cView commit details -
integrationTest - upgrade org.hamcrest:hamcrest to 2.2
Signed-off-by: Kacper Trochimiak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a418b64 - Browse repository at this point
Copy the full SHA a418b64View commit details -
add tests for SocketUtils class
Signed-off-by: Kacper Trochimiak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5340d9a - Browse repository at this point
Copy the full SHA 5340d9aView commit details -
add new line to SocketUtilsTests class
Signed-off-by: Kacper Trochimiak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2c66c9 - Browse repository at this point
Copy the full SHA e2c66c9View commit details -
add separate spotless configuration for integrationTest
Signed-off-by: Kacper Trochimiak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 777096e - Browse repository at this point
Copy the full SHA 777096eView commit details -
integrationTest - apply spotless formatting
Signed-off-by: Kacper Trochimiak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 652af5b - Browse repository at this point
Copy the full SHA 652af5bView commit details -
CI/CD - run integrationTest task only when test task is executed
Signed-off-by: Kacper Trochimiak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df0da3c - Browse repository at this point
Copy the full SHA df0da3cView commit details -
Removed uses of NestedValueMap and replaced by ToXContent
Signed-Off-By: Nils Bandener <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f4d715 - Browse repository at this point
Copy the full SHA 9f4d715View commit details -
Signed-Off-By: Nils Bandener <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33f35f5 - Browse repository at this point
Copy the full SHA 33f35f5View commit details -
Modify defaults to prevent warnings from being added to the test output
Removes the following messages from the output: 2022-08-25 12:51:21 SUITE-SecurityRolesTests-seed#[BB25A03A663EB2F7] WARN Salt:48 - If you plan to use field masking pls configure compliance salt e1ukloTsQlOgPquJ to be a random string of 16 chars length identical on all nodes 2022-08-25 12:51:21 SUITE-SecurityRolesTests-seed#[BB25A03A663EB2F7] ERROR SinkProvider:64 - Default endpoint could not be created, auditlog will not work properly. 2022-08-25 12:51:21 SUITE-SecurityRolesTests-seed#[BB25A03A663EB2F7] WARN AuditMessageRouter:61 - No default storage available, audit log may not work properly. Please check configuration. Signed-off-by: Peter Nied <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1bce59 - Browse repository at this point
Copy the full SHA f1bce59View commit details -
Replace non-inclusive terms from configuration settings
Signed-off-by: Peter Nied <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33b78b3 - Browse repository at this point
Copy the full SHA 33b78b3View commit details -
Output of integration tests cleaned.
Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 674be40 - Browse repository at this point
Copy the full SHA 674be40View commit details -
Signed-Off-By: Nils Bandener <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0757c08 - Browse repository at this point
Copy the full SHA 0757c08View commit details -
Signed-Off-By: Nils Bandener <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 08d6500 - Browse repository at this point
Copy the full SHA 08d6500View commit details -
A temporary solution to limit the number of warning messages caused b…
…y class NodeAndClusterIdConverter during tests execution Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67b5446 - Browse repository at this point
Copy the full SHA 67b5446View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e5e885 - Browse repository at this point
Copy the full SHA 6e5e885View commit details
Commits on Sep 19, 2022
-
Correction after code review, removed some comments and one javadoc a…
…dded. Signed-off-by: Lukasz Soszynski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9fdb73a - Browse repository at this point
Copy the full SHA 9fdb73aView commit details