{"id":16926767,"url":"https://github.com/joel-costigliola/elastic-search-test","last_synced_at":"2025-04-11T17:41:50.090Z","repository":{"id":139219220,"uuid":"111628572","full_name":"joel-costigliola/elastic-search-test","owner":"joel-costigliola","description":"ESIntegTestCase example","archived":false,"fork":false,"pushed_at":"2017-11-23T22:22:54.000Z","size":63,"stargazers_count":21,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T13:45:26.555Z","etag":null,"topics":["elasticsearch","java","test"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joel-costigliola.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-22T02:51:59.000Z","updated_at":"2024-11-01T17:00:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"d82dbf36-e36c-4d6b-85c5-becf3f305ac1","html_url":"https://github.com/joel-costigliola/elastic-search-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joel-costigliola%2Felastic-search-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joel-costigliola%2Felastic-search-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joel-costigliola%2Felastic-search-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joel-costigliola%2Felastic-search-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joel-costigliola","download_url":"https://codeload.github.com/joel-costigliola/elastic-search-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248451509,"owners_count":21105884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elasticsearch","java","test"],"created_at":"2024-10-13T20:31:29.719Z","updated_at":"2025-04-11T17:41:49.913Z","avatar_url":"https://github.com/joel-costigliola.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elastic search java test framework examples\r\n\r\nThe Elastic search lacks some working examples for their [test framework](https://www.elastic.co/guide/en/elasticsearch/reference/current/testing-framework.html). This project tries to fill the gap and provides some.\r\n\r\nThe setup is not as easy as it looks because the test bootstrapping requires to relax security constraints and is really picky about the classpath (which is a good thing but it fails to report helpful errors unless you execute the build in debug mode).\r\n\r\n## gradle\r\n\r\n\r\nWe need to pass `-Dtests.security.manager=false` for the test framework bootstrapping to work.\r\n\r\n```\r\n./gradlew clean test -Dtests.security.manager=false\r\n```\r\n\r\n\r\n## maven\r\n\r\nMaven build works out of the box, just run `mvn clean test`.\r\nNote that the `-Dtests.security.manager=false` has been added to the surefire plugin configuration for the tests to pass.\r\n\r\nTested with:\r\n```\r\n~/ ∙ mvn --version\r\nApache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T20:58:13+13:00)\r\nMaven home: /home/joelco/prog/apache-maven-3.5.2\r\nJava version: 1.8.0_66, vendor: Oracle Corporation\r\nJava home: /home/joelco/prog/java/jdk-1-8-66/jre\r\nDefault locale: en_NZ, platform encoding: UTF-8\r\nOS name: \"linux\", version: \"4.4.0-98-generic\", arch: \"amd64\", family: \"unix\"\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoel-costigliola%2Felastic-search-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoel-costigliola%2Felastic-search-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoel-costigliola%2Felastic-search-test/lists"}