From 6a99796b02383862825687a4fb57080ddd92f616 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Thu, 17 Dec 2015 16:57:39 -0800 Subject: [PATCH] Build: Move test framework under a "test" top level dir This allows adding more test projects, eg integ test fixtures that will be coming soon. --- build.gradle | 6 ++--- .../elasticsearch/gradle/BuildPlugin.groovy | 3 ++- .../gradle/plugin/PluginBuildPlugin.groovy | 2 +- .../test/StandaloneTestBasePlugin.groovy | 2 +- core/build.gradle | 2 +- settings.gradle | 2 +- test/build.gradle | 23 +++++++++++++++++++ .../framework}/build.gradle | 1 - .../bootstrap/BootstrapForTesting.java | 0 .../cache/recycler/MockPageCacheRecycler.java | 0 .../MockInternalClusterInfoService.java | 0 .../cluster/routing/TestShardRouting.java | 0 .../common/cli/CliToolTestCase.java | 0 .../common/io/FileTestUtils.java | 0 .../common/io/PathUtilsForTesting.java | 0 .../common/util/MockBigArrays.java | 0 .../elasticsearch/index/MapperTestUtils.java | 0 .../index/MockEngineFactoryPlugin.java | 0 .../java/org/elasticsearch/node/MockNode.java | 0 .../elasticsearch/node/NodeMocksPlugin.java | 0 .../percolator/PercolatorTestUtil.java | 0 .../elasticsearch/plugins/PluginTestUtil.java | 0 .../script/MockScriptEngine.java | 0 .../search/MockSearchService.java | 0 .../bucket/AbstractTermsTestCase.java | 0 ...NativeSignificanceScoreScriptNoParams.java | 0 ...tiveSignificanceScoreScriptWithParams.java | 0 .../bucket/script/TestScript.java | 0 .../metrics/AbstractNumericTestCase.java | 0 .../elasticsearch/test/BackgroundIndexer.java | 0 .../test/CompositeTestCluster.java | 0 .../elasticsearch/test/CorruptionUtils.java | 0 .../elasticsearch/test/DummyShardLock.java | 0 .../test/ESAllocationTestCase.java | 0 .../test/ESBackcompatTestCase.java | 0 .../elasticsearch/test/ESIntegTestCase.java | 0 .../test/ESSingleNodeTestCase.java | 0 .../org/elasticsearch/test/ESTestCase.java | 0 .../test/ESTokenStreamTestCase.java | 0 .../org/elasticsearch/test/ExternalNode.java | 0 .../test/ExternalTestCluster.java | 0 .../test/FieldMaskingReader.java | 0 .../test/IndexSettingsModule.java | 0 .../test/InternalTestCluster.java | 0 .../test/MockIndexEventListener.java | 0 .../test/NodeConfigurationSource.java | 0 .../org/elasticsearch/test/StreamsUtils.java | 0 .../org/elasticsearch/test/TestCluster.java | 0 .../elasticsearch/test/TestSearchContext.java | 0 .../org/elasticsearch/test/VersionUtils.java | 0 .../elasticsearch/test/XContentTestUtils.java | 0 .../test/client/RandomizingClient.java | 0 .../test/cluster/NoopClusterService.java | 0 .../test/cluster/TestClusterService.java | 0 .../ClusterDiscoveryConfiguration.java | 0 .../BlockClusterStateProcessing.java | 0 .../IntermittentLongGCDisruption.java | 0 .../test/disruption/LongGCDisruption.java | 0 .../disruption/NetworkDelaysPartition.java | 0 .../NetworkDisconnectPartition.java | 0 .../test/disruption/NetworkPartition.java | 0 .../test/disruption/NetworkPartitionIT.java | 0 .../NetworkUnresponsivePartition.java | 0 .../test/disruption/NoOpDisruptionScheme.java | 0 .../disruption/ServiceDisruptionScheme.java | 0 .../test/disruption/SingleNodeDisruption.java | 0 .../SlowClusterStateProcessing.java | 0 .../test/engine/AssertingSearcher.java | 0 .../test/engine/MockEngineFactory.java | 0 .../test/engine/MockEngineSupport.java | 0 .../test/engine/MockInternalEngine.java | 0 .../test/engine/MockShadowEngine.java | 0 .../engine/ThrowingLeafReaderWrapper.java | 0 .../test/gateway/NoopGatewayAllocator.java | 0 .../test/hamcrest/CollectionAssertions.java | 0 .../test/hamcrest/CollectionMatchers.java | 0 .../hamcrest/ElasticsearchAssertions.java | 0 .../test/hamcrest/ElasticsearchMatchers.java | 0 .../test/hamcrest/RegexMatcher.java | 0 .../test/junit/annotations/Network.java | 0 .../test/junit/annotations/TestLogging.java | 0 .../test/junit/listeners/LoggingListener.java | 0 .../junit/listeners/ReproduceInfoPrinter.java | 0 .../junit/rule/RepeatOnExceptionRule.java | 0 .../rest/BlacklistedPathPatternMatcher.java | 0 .../test/rest/ESRestTestCase.java | 0 .../test/rest/FakeRestRequest.java | 0 .../test/rest/RestTestCandidate.java | 0 .../test/rest/RestTestExecutionContext.java | 0 .../org/elasticsearch/test/rest/Stash.java | 0 .../test/rest/client/RestClient.java | 0 .../test/rest/client/RestException.java | 0 .../test/rest/client/RestPath.java | 0 .../test/rest/client/RestResponse.java | 0 .../client/http/HttpDeleteWithEntity.java | 0 .../rest/client/http/HttpGetWithEntity.java | 0 .../rest/client/http/HttpRequestBuilder.java | 0 .../test/rest/client/http/HttpResponse.java | 0 .../test/rest/json/JsonPath.java | 0 .../test/rest/parser/DoSectionParser.java | 0 .../rest/parser/GreaterThanEqualToParser.java | 0 .../test/rest/parser/GreaterThanParser.java | 0 .../test/rest/parser/IsFalseParser.java | 0 .../test/rest/parser/IsTrueParser.java | 0 .../test/rest/parser/LengthParser.java | 0 .../rest/parser/LessThanOrEqualToParser.java | 0 .../test/rest/parser/LessThanParser.java | 0 .../test/rest/parser/MatchParser.java | 0 .../rest/parser/RestTestFragmentParser.java | 0 .../rest/parser/RestTestParseException.java | 0 .../rest/parser/RestTestSectionParser.java | 0 .../parser/RestTestSuiteParseContext.java | 0 .../test/rest/parser/RestTestSuiteParser.java | 0 .../test/rest/parser/SetSectionParser.java | 0 .../test/rest/parser/SetupSectionParser.java | 0 .../test/rest/parser/SkipSectionParser.java | 0 .../test/rest/section/ApiCallSection.java | 0 .../test/rest/section/Assertion.java | 0 .../test/rest/section/DoSection.java | 0 .../test/rest/section/ExecutableSection.java | 0 .../rest/section/GreaterThanAssertion.java | 0 .../section/GreaterThanEqualToAssertion.java | 0 .../test/rest/section/IsFalseAssertion.java | 0 .../test/rest/section/IsTrueAssertion.java | 0 .../test/rest/section/LengthAssertion.java | 0 .../test/rest/section/LessThanAssertion.java | 0 .../section/LessThanOrEqualToAssertion.java | 0 .../test/rest/section/MatchAssertion.java | 0 .../test/rest/section/RestTestSuite.java | 0 .../test/rest/section/SetSection.java | 0 .../test/rest/section/SetupSection.java | 0 .../test/rest/section/SkipSection.java | 0 .../test/rest/section/TestSection.java | 0 .../elasticsearch/test/rest/spec/RestApi.java | 0 .../test/rest/spec/RestApiParser.java | 0 .../test/rest/spec/RestSpec.java | 0 .../test/rest/support/Features.java | 0 .../test/rest/support/FileUtils.java | 0 .../test/store/MockFSDirectoryService.java | 0 .../test/store/MockFSIndexStore.java | 0 .../transport/AssertingLocalTransport.java | 0 .../test/transport/CapturingTransport.java | 0 .../test/transport/MockTransportService.java | 0 .../src/main/resources/log4j.properties | 0 .../BlacklistedPathPatternMatcherTests.java | 0 .../rest/test/AbstractParserTestCase.java | 0 .../test/rest/test/AssertionParsersTests.java | 0 .../test/rest/test/DoSectionParserTests.java | 0 .../test/rest/test/FileUtilsTests.java | 0 .../test/rest/test/JsonPathTests.java | 0 .../rest/test/RestApiParserFailingTests.java | 0 .../test/rest/test/RestApiParserTests.java | 0 .../test/rest/test/RestTestParserTests.java | 0 .../test/rest/test/SetSectionParserTests.java | 0 .../rest/test/SetupSectionParserTests.java | 0 .../rest/test/SkipSectionParserTests.java | 0 .../rest/test/TestSectionParserTests.java | 0 .../test/test/InternalTestClusterTests.java | 0 .../test/test/LoggingListenerTests.java | 0 .../test/test/SuiteScopeClusterIT.java | 0 .../test/test/TestScopeClusterIT.java | 0 .../test/test/VersionUtilsTests.java | 0 .../rest-api-spec/test/suite1/10_basic.yaml | 0 .../test/suite1/20_another_test.yaml | 0 .../rest-api-spec/test/suite2/10_basic.yaml | 0 .../rest-api-spec/test/suite2/15_test2.yaml | 0 166 files changed, 32 insertions(+), 9 deletions(-) create mode 100644 test/build.gradle rename {test-framework => test/framework}/build.gradle (98%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/bootstrap/BootstrapForTesting.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/cache/recycler/MockPageCacheRecycler.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/cluster/MockInternalClusterInfoService.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/cluster/routing/TestShardRouting.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/common/cli/CliToolTestCase.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/common/io/FileTestUtils.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/common/io/PathUtilsForTesting.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/common/util/MockBigArrays.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/index/MapperTestUtils.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/index/MockEngineFactoryPlugin.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/node/MockNode.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/node/NodeMocksPlugin.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/percolator/PercolatorTestUtil.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/plugins/PluginTestUtil.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/script/MockScriptEngine.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/search/MockSearchService.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/search/aggregations/bucket/AbstractTermsTestCase.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/search/aggregations/bucket/script/NativeSignificanceScoreScriptNoParams.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/search/aggregations/bucket/script/NativeSignificanceScoreScriptWithParams.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/search/aggregations/bucket/script/TestScript.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/search/aggregations/metrics/AbstractNumericTestCase.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/BackgroundIndexer.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/CompositeTestCluster.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/CorruptionUtils.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/DummyShardLock.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/ESAllocationTestCase.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/ESBackcompatTestCase.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/ESIntegTestCase.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/ESSingleNodeTestCase.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/ESTestCase.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/ESTokenStreamTestCase.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/ExternalNode.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/ExternalTestCluster.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/FieldMaskingReader.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/IndexSettingsModule.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/InternalTestCluster.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/MockIndexEventListener.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/NodeConfigurationSource.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/StreamsUtils.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/TestCluster.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/TestSearchContext.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/VersionUtils.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/XContentTestUtils.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/client/RandomizingClient.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/cluster/NoopClusterService.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/cluster/TestClusterService.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/discovery/ClusterDiscoveryConfiguration.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/disruption/BlockClusterStateProcessing.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/disruption/IntermittentLongGCDisruption.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/disruption/LongGCDisruption.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/disruption/NetworkDelaysPartition.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/disruption/NetworkDisconnectPartition.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/disruption/NetworkPartition.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/disruption/NetworkPartitionIT.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/disruption/NetworkUnresponsivePartition.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/disruption/NoOpDisruptionScheme.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/disruption/ServiceDisruptionScheme.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/disruption/SingleNodeDisruption.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/disruption/SlowClusterStateProcessing.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/engine/AssertingSearcher.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/engine/MockEngineFactory.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/engine/MockEngineSupport.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/engine/MockInternalEngine.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/engine/MockShadowEngine.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/engine/ThrowingLeafReaderWrapper.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/gateway/NoopGatewayAllocator.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/hamcrest/CollectionAssertions.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/hamcrest/CollectionMatchers.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/hamcrest/ElasticsearchAssertions.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/hamcrest/ElasticsearchMatchers.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/hamcrest/RegexMatcher.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/junit/annotations/Network.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/junit/annotations/TestLogging.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/junit/listeners/LoggingListener.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/junit/listeners/ReproduceInfoPrinter.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/junit/rule/RepeatOnExceptionRule.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/BlacklistedPathPatternMatcher.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/FakeRestRequest.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/RestTestCandidate.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/RestTestExecutionContext.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/Stash.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/client/RestClient.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/client/RestException.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/client/RestPath.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/client/RestResponse.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/client/http/HttpDeleteWithEntity.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/client/http/HttpGetWithEntity.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/client/http/HttpRequestBuilder.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/client/http/HttpResponse.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/json/JsonPath.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/DoSectionParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/GreaterThanEqualToParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/GreaterThanParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/IsFalseParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/IsTrueParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/LengthParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/LessThanOrEqualToParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/LessThanParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/MatchParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/RestTestFragmentParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/RestTestParseException.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/RestTestSectionParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/RestTestSuiteParseContext.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/RestTestSuiteParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/SetSectionParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/SetupSectionParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/parser/SkipSectionParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/ApiCallSection.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/Assertion.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/DoSection.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/ExecutableSection.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/GreaterThanAssertion.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/GreaterThanEqualToAssertion.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/IsFalseAssertion.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/IsTrueAssertion.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/LengthAssertion.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/LessThanAssertion.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/LessThanOrEqualToAssertion.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/MatchAssertion.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/RestTestSuite.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/SetSection.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/SetupSection.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/SkipSection.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/section/TestSection.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/spec/RestApi.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/spec/RestApiParser.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/spec/RestSpec.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/support/Features.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/rest/support/FileUtils.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/store/MockFSDirectoryService.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/store/MockFSIndexStore.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/transport/AssertingLocalTransport.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/transport/CapturingTransport.java (100%) rename {test-framework => test/framework}/src/main/java/org/elasticsearch/test/transport/MockTransportService.java (100%) rename {test-framework => test/framework}/src/main/resources/log4j.properties (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/rest/BlacklistedPathPatternMatcherTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/rest/test/AbstractParserTestCase.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/rest/test/AssertionParsersTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/rest/test/DoSectionParserTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/rest/test/FileUtilsTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/rest/test/JsonPathTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/rest/test/RestApiParserFailingTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/rest/test/RestApiParserTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/rest/test/RestTestParserTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/rest/test/SetSectionParserTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/rest/test/SetupSectionParserTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/rest/test/SkipSectionParserTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/rest/test/TestSectionParserTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/test/InternalTestClusterTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/test/LoggingListenerTests.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/test/SuiteScopeClusterIT.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/test/TestScopeClusterIT.java (100%) rename {test-framework => test/framework}/src/test/java/org/elasticsearch/test/test/VersionUtilsTests.java (100%) rename {test-framework => test/framework}/src/test/resources/rest-api-spec/test/suite1/10_basic.yaml (100%) rename {test-framework => test/framework}/src/test/resources/rest-api-spec/test/suite1/20_another_test.yaml (100%) rename {test-framework => test/framework}/src/test/resources/rest-api-spec/test/suite2/10_basic.yaml (100%) rename {test-framework => test/framework}/src/test/resources/rest-api-spec/test/suite2/15_test2.yaml (100%) diff --git a/build.gradle b/build.gradle index 8a95fa90925..ab40587d5a1 100644 --- a/build.gradle +++ b/build.gradle @@ -109,7 +109,7 @@ subprojects { ext.projectSubstitutions = [ "org.elasticsearch:rest-api-spec:${version}": ':rest-api-spec', "org.elasticsearch:elasticsearch:${version}": ':core', - "org.elasticsearch:test-framework:${version}": ':test-framework', + "org.elasticsearch.test:framework:${version}": ':test:framework', "org.elasticsearch.distribution.integ-test-zip:elasticsearch:${version}": ':distribution:integ-test-zip', "org.elasticsearch.distribution.zip:elasticsearch:${version}": ':distribution:zip', "org.elasticsearch.distribution.tar:elasticsearch:${version}": ':distribution:tar', @@ -141,8 +141,8 @@ subprojects { // the dependency is added. gradle.projectsEvaluated { allprojects { - if (project.path == ':test-framework') { - // :test-framework:test cannot run before and after :core:test + if (project.path == ':test:framework') { + // :test:framework:test cannot run before and after :core:test return } configurations.all { diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/BuildPlugin.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/BuildPlugin.groovy index c4d0ced6b5c..10f479ee100 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/BuildPlugin.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/BuildPlugin.groovy @@ -202,7 +202,7 @@ class BuildPlugin implements Plugin { // force all dependencies added directly to compile/testCompile to be non-transitive, except for ES itself Closure disableTransitiveDeps = { ModuleDependency dep -> - if (!(dep instanceof ProjectDependency) && dep.getGroup() != 'org.elasticsearch') { + if (!(dep instanceof ProjectDependency) && dep.group.startsWith('org.elasticsearch') == false) { dep.transitive = false // also create a configuration just for this dependency version, so that later @@ -302,6 +302,7 @@ class BuildPlugin implements Plugin { options.compilerArgs << '-profile' << project.compactProfile } options.encoding = 'UTF-8' + //options.incremental = true } } } diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/plugin/PluginBuildPlugin.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/plugin/PluginBuildPlugin.groovy index 0d936ab0e15..9a000ab3296 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/plugin/PluginBuildPlugin.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/plugin/PluginBuildPlugin.groovy @@ -60,7 +60,7 @@ public class PluginBuildPlugin extends BuildPlugin { private static void configureDependencies(Project project) { project.dependencies { provided "org.elasticsearch:elasticsearch:${project.versions.elasticsearch}" - testCompile "org.elasticsearch:test-framework:${project.versions.elasticsearch}" + testCompile "org.elasticsearch.test:framework:${project.versions.elasticsearch}" // we "upgrade" these optional deps to provided for plugins, since they will run // with a full elasticsearch server that includes optional deps provided "com.spatial4j:spatial4j:${project.versions.spatial4j}" diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/StandaloneTestBasePlugin.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/StandaloneTestBasePlugin.groovy index f317254cd45..3063853c871 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/StandaloneTestBasePlugin.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/StandaloneTestBasePlugin.groovy @@ -42,7 +42,7 @@ public class StandaloneTestBasePlugin implements Plugin { // only setup tests to build project.sourceSets.create('test') - project.dependencies.add('testCompile', "org.elasticsearch:test-framework:${VersionProperties.elasticsearch}") + project.dependencies.add('testCompile', "org.elasticsearch.test:framework:${VersionProperties.elasticsearch}") project.eclipse.classpath.sourceSets = [project.sourceSets.test] project.eclipse.classpath.plusConfigurations = [project.configurations.testRuntime] diff --git a/core/build.gradle b/core/build.gradle index f4eb2c0aebd..61cdd12a194 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -82,7 +82,7 @@ dependencies { compile "net.java.dev.jna:jna:${versions.jna}", optional if (isEclipse == false || project.path == ":core-tests") { - testCompile("org.elasticsearch:test-framework:${version}") { + testCompile("org.elasticsearch.test:framework:${version}") { // tests use the locally compiled version of core exclude group: 'org.elasticsearch', module: 'elasticsearch' } diff --git a/settings.gradle b/settings.gradle index e9fb0a043aa..3526c0429ef 100644 --- a/settings.gradle +++ b/settings.gradle @@ -8,7 +8,7 @@ List projects = [ 'distribution:tar', 'distribution:deb', 'distribution:rpm', - 'test-framework', + 'test:framework', 'modules:lang-expression', 'modules:lang-groovy', 'modules:lang-mustache', diff --git a/test/build.gradle b/test/build.gradle new file mode 100644 index 00000000000..037bb8d508e --- /dev/null +++ b/test/build.gradle @@ -0,0 +1,23 @@ +/* + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +subprojects { + group = 'org.elasticsearch.test' + apply plugin: 'com.bmuschko.nexus' +} diff --git a/test-framework/build.gradle b/test/framework/build.gradle similarity index 98% rename from test-framework/build.gradle rename to test/framework/build.gradle index 6930abb3d23..a2c568f1d7f 100644 --- a/test-framework/build.gradle +++ b/test/framework/build.gradle @@ -19,7 +19,6 @@ import org.elasticsearch.gradle.precommit.PrecommitTasks apply plugin: 'elasticsearch.build' -apply plugin: 'com.bmuschko.nexus' dependencies { compile "org.elasticsearch:elasticsearch:${version}" diff --git a/test-framework/src/main/java/org/elasticsearch/bootstrap/BootstrapForTesting.java b/test/framework/src/main/java/org/elasticsearch/bootstrap/BootstrapForTesting.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/bootstrap/BootstrapForTesting.java rename to test/framework/src/main/java/org/elasticsearch/bootstrap/BootstrapForTesting.java diff --git a/test-framework/src/main/java/org/elasticsearch/cache/recycler/MockPageCacheRecycler.java b/test/framework/src/main/java/org/elasticsearch/cache/recycler/MockPageCacheRecycler.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/cache/recycler/MockPageCacheRecycler.java rename to test/framework/src/main/java/org/elasticsearch/cache/recycler/MockPageCacheRecycler.java diff --git a/test-framework/src/main/java/org/elasticsearch/cluster/MockInternalClusterInfoService.java b/test/framework/src/main/java/org/elasticsearch/cluster/MockInternalClusterInfoService.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/cluster/MockInternalClusterInfoService.java rename to test/framework/src/main/java/org/elasticsearch/cluster/MockInternalClusterInfoService.java diff --git a/test-framework/src/main/java/org/elasticsearch/cluster/routing/TestShardRouting.java b/test/framework/src/main/java/org/elasticsearch/cluster/routing/TestShardRouting.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/cluster/routing/TestShardRouting.java rename to test/framework/src/main/java/org/elasticsearch/cluster/routing/TestShardRouting.java diff --git a/test-framework/src/main/java/org/elasticsearch/common/cli/CliToolTestCase.java b/test/framework/src/main/java/org/elasticsearch/common/cli/CliToolTestCase.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/common/cli/CliToolTestCase.java rename to test/framework/src/main/java/org/elasticsearch/common/cli/CliToolTestCase.java diff --git a/test-framework/src/main/java/org/elasticsearch/common/io/FileTestUtils.java b/test/framework/src/main/java/org/elasticsearch/common/io/FileTestUtils.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/common/io/FileTestUtils.java rename to test/framework/src/main/java/org/elasticsearch/common/io/FileTestUtils.java diff --git a/test-framework/src/main/java/org/elasticsearch/common/io/PathUtilsForTesting.java b/test/framework/src/main/java/org/elasticsearch/common/io/PathUtilsForTesting.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/common/io/PathUtilsForTesting.java rename to test/framework/src/main/java/org/elasticsearch/common/io/PathUtilsForTesting.java diff --git a/test-framework/src/main/java/org/elasticsearch/common/util/MockBigArrays.java b/test/framework/src/main/java/org/elasticsearch/common/util/MockBigArrays.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/common/util/MockBigArrays.java rename to test/framework/src/main/java/org/elasticsearch/common/util/MockBigArrays.java diff --git a/test-framework/src/main/java/org/elasticsearch/index/MapperTestUtils.java b/test/framework/src/main/java/org/elasticsearch/index/MapperTestUtils.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/index/MapperTestUtils.java rename to test/framework/src/main/java/org/elasticsearch/index/MapperTestUtils.java diff --git a/test-framework/src/main/java/org/elasticsearch/index/MockEngineFactoryPlugin.java b/test/framework/src/main/java/org/elasticsearch/index/MockEngineFactoryPlugin.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/index/MockEngineFactoryPlugin.java rename to test/framework/src/main/java/org/elasticsearch/index/MockEngineFactoryPlugin.java diff --git a/test-framework/src/main/java/org/elasticsearch/node/MockNode.java b/test/framework/src/main/java/org/elasticsearch/node/MockNode.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/node/MockNode.java rename to test/framework/src/main/java/org/elasticsearch/node/MockNode.java diff --git a/test-framework/src/main/java/org/elasticsearch/node/NodeMocksPlugin.java b/test/framework/src/main/java/org/elasticsearch/node/NodeMocksPlugin.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/node/NodeMocksPlugin.java rename to test/framework/src/main/java/org/elasticsearch/node/NodeMocksPlugin.java diff --git a/test-framework/src/main/java/org/elasticsearch/percolator/PercolatorTestUtil.java b/test/framework/src/main/java/org/elasticsearch/percolator/PercolatorTestUtil.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/percolator/PercolatorTestUtil.java rename to test/framework/src/main/java/org/elasticsearch/percolator/PercolatorTestUtil.java diff --git a/test-framework/src/main/java/org/elasticsearch/plugins/PluginTestUtil.java b/test/framework/src/main/java/org/elasticsearch/plugins/PluginTestUtil.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/plugins/PluginTestUtil.java rename to test/framework/src/main/java/org/elasticsearch/plugins/PluginTestUtil.java diff --git a/test-framework/src/main/java/org/elasticsearch/script/MockScriptEngine.java b/test/framework/src/main/java/org/elasticsearch/script/MockScriptEngine.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/script/MockScriptEngine.java rename to test/framework/src/main/java/org/elasticsearch/script/MockScriptEngine.java diff --git a/test-framework/src/main/java/org/elasticsearch/search/MockSearchService.java b/test/framework/src/main/java/org/elasticsearch/search/MockSearchService.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/search/MockSearchService.java rename to test/framework/src/main/java/org/elasticsearch/search/MockSearchService.java diff --git a/test-framework/src/main/java/org/elasticsearch/search/aggregations/bucket/AbstractTermsTestCase.java b/test/framework/src/main/java/org/elasticsearch/search/aggregations/bucket/AbstractTermsTestCase.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/search/aggregations/bucket/AbstractTermsTestCase.java rename to test/framework/src/main/java/org/elasticsearch/search/aggregations/bucket/AbstractTermsTestCase.java diff --git a/test-framework/src/main/java/org/elasticsearch/search/aggregations/bucket/script/NativeSignificanceScoreScriptNoParams.java b/test/framework/src/main/java/org/elasticsearch/search/aggregations/bucket/script/NativeSignificanceScoreScriptNoParams.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/search/aggregations/bucket/script/NativeSignificanceScoreScriptNoParams.java rename to test/framework/src/main/java/org/elasticsearch/search/aggregations/bucket/script/NativeSignificanceScoreScriptNoParams.java diff --git a/test-framework/src/main/java/org/elasticsearch/search/aggregations/bucket/script/NativeSignificanceScoreScriptWithParams.java b/test/framework/src/main/java/org/elasticsearch/search/aggregations/bucket/script/NativeSignificanceScoreScriptWithParams.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/search/aggregations/bucket/script/NativeSignificanceScoreScriptWithParams.java rename to test/framework/src/main/java/org/elasticsearch/search/aggregations/bucket/script/NativeSignificanceScoreScriptWithParams.java diff --git a/test-framework/src/main/java/org/elasticsearch/search/aggregations/bucket/script/TestScript.java b/test/framework/src/main/java/org/elasticsearch/search/aggregations/bucket/script/TestScript.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/search/aggregations/bucket/script/TestScript.java rename to test/framework/src/main/java/org/elasticsearch/search/aggregations/bucket/script/TestScript.java diff --git a/test-framework/src/main/java/org/elasticsearch/search/aggregations/metrics/AbstractNumericTestCase.java b/test/framework/src/main/java/org/elasticsearch/search/aggregations/metrics/AbstractNumericTestCase.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/search/aggregations/metrics/AbstractNumericTestCase.java rename to test/framework/src/main/java/org/elasticsearch/search/aggregations/metrics/AbstractNumericTestCase.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/BackgroundIndexer.java b/test/framework/src/main/java/org/elasticsearch/test/BackgroundIndexer.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/BackgroundIndexer.java rename to test/framework/src/main/java/org/elasticsearch/test/BackgroundIndexer.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/CompositeTestCluster.java b/test/framework/src/main/java/org/elasticsearch/test/CompositeTestCluster.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/CompositeTestCluster.java rename to test/framework/src/main/java/org/elasticsearch/test/CompositeTestCluster.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/CorruptionUtils.java b/test/framework/src/main/java/org/elasticsearch/test/CorruptionUtils.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/CorruptionUtils.java rename to test/framework/src/main/java/org/elasticsearch/test/CorruptionUtils.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/DummyShardLock.java b/test/framework/src/main/java/org/elasticsearch/test/DummyShardLock.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/DummyShardLock.java rename to test/framework/src/main/java/org/elasticsearch/test/DummyShardLock.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/ESAllocationTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/ESAllocationTestCase.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/ESAllocationTestCase.java rename to test/framework/src/main/java/org/elasticsearch/test/ESAllocationTestCase.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/ESBackcompatTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/ESBackcompatTestCase.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/ESBackcompatTestCase.java rename to test/framework/src/main/java/org/elasticsearch/test/ESBackcompatTestCase.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/ESIntegTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/ESIntegTestCase.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/ESIntegTestCase.java rename to test/framework/src/main/java/org/elasticsearch/test/ESIntegTestCase.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/ESSingleNodeTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/ESSingleNodeTestCase.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/ESSingleNodeTestCase.java rename to test/framework/src/main/java/org/elasticsearch/test/ESSingleNodeTestCase.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/ESTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/ESTestCase.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/ESTestCase.java rename to test/framework/src/main/java/org/elasticsearch/test/ESTestCase.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/ESTokenStreamTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/ESTokenStreamTestCase.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/ESTokenStreamTestCase.java rename to test/framework/src/main/java/org/elasticsearch/test/ESTokenStreamTestCase.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/ExternalNode.java b/test/framework/src/main/java/org/elasticsearch/test/ExternalNode.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/ExternalNode.java rename to test/framework/src/main/java/org/elasticsearch/test/ExternalNode.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/ExternalTestCluster.java b/test/framework/src/main/java/org/elasticsearch/test/ExternalTestCluster.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/ExternalTestCluster.java rename to test/framework/src/main/java/org/elasticsearch/test/ExternalTestCluster.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/FieldMaskingReader.java b/test/framework/src/main/java/org/elasticsearch/test/FieldMaskingReader.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/FieldMaskingReader.java rename to test/framework/src/main/java/org/elasticsearch/test/FieldMaskingReader.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/IndexSettingsModule.java b/test/framework/src/main/java/org/elasticsearch/test/IndexSettingsModule.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/IndexSettingsModule.java rename to test/framework/src/main/java/org/elasticsearch/test/IndexSettingsModule.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/InternalTestCluster.java b/test/framework/src/main/java/org/elasticsearch/test/InternalTestCluster.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/InternalTestCluster.java rename to test/framework/src/main/java/org/elasticsearch/test/InternalTestCluster.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/MockIndexEventListener.java b/test/framework/src/main/java/org/elasticsearch/test/MockIndexEventListener.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/MockIndexEventListener.java rename to test/framework/src/main/java/org/elasticsearch/test/MockIndexEventListener.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/NodeConfigurationSource.java b/test/framework/src/main/java/org/elasticsearch/test/NodeConfigurationSource.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/NodeConfigurationSource.java rename to test/framework/src/main/java/org/elasticsearch/test/NodeConfigurationSource.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/StreamsUtils.java b/test/framework/src/main/java/org/elasticsearch/test/StreamsUtils.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/StreamsUtils.java rename to test/framework/src/main/java/org/elasticsearch/test/StreamsUtils.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/TestCluster.java b/test/framework/src/main/java/org/elasticsearch/test/TestCluster.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/TestCluster.java rename to test/framework/src/main/java/org/elasticsearch/test/TestCluster.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/TestSearchContext.java b/test/framework/src/main/java/org/elasticsearch/test/TestSearchContext.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/TestSearchContext.java rename to test/framework/src/main/java/org/elasticsearch/test/TestSearchContext.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/VersionUtils.java b/test/framework/src/main/java/org/elasticsearch/test/VersionUtils.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/VersionUtils.java rename to test/framework/src/main/java/org/elasticsearch/test/VersionUtils.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/XContentTestUtils.java b/test/framework/src/main/java/org/elasticsearch/test/XContentTestUtils.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/XContentTestUtils.java rename to test/framework/src/main/java/org/elasticsearch/test/XContentTestUtils.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/client/RandomizingClient.java b/test/framework/src/main/java/org/elasticsearch/test/client/RandomizingClient.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/client/RandomizingClient.java rename to test/framework/src/main/java/org/elasticsearch/test/client/RandomizingClient.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/cluster/NoopClusterService.java b/test/framework/src/main/java/org/elasticsearch/test/cluster/NoopClusterService.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/cluster/NoopClusterService.java rename to test/framework/src/main/java/org/elasticsearch/test/cluster/NoopClusterService.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/cluster/TestClusterService.java b/test/framework/src/main/java/org/elasticsearch/test/cluster/TestClusterService.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/cluster/TestClusterService.java rename to test/framework/src/main/java/org/elasticsearch/test/cluster/TestClusterService.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/discovery/ClusterDiscoveryConfiguration.java b/test/framework/src/main/java/org/elasticsearch/test/discovery/ClusterDiscoveryConfiguration.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/discovery/ClusterDiscoveryConfiguration.java rename to test/framework/src/main/java/org/elasticsearch/test/discovery/ClusterDiscoveryConfiguration.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/disruption/BlockClusterStateProcessing.java b/test/framework/src/main/java/org/elasticsearch/test/disruption/BlockClusterStateProcessing.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/disruption/BlockClusterStateProcessing.java rename to test/framework/src/main/java/org/elasticsearch/test/disruption/BlockClusterStateProcessing.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/disruption/IntermittentLongGCDisruption.java b/test/framework/src/main/java/org/elasticsearch/test/disruption/IntermittentLongGCDisruption.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/disruption/IntermittentLongGCDisruption.java rename to test/framework/src/main/java/org/elasticsearch/test/disruption/IntermittentLongGCDisruption.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/disruption/LongGCDisruption.java b/test/framework/src/main/java/org/elasticsearch/test/disruption/LongGCDisruption.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/disruption/LongGCDisruption.java rename to test/framework/src/main/java/org/elasticsearch/test/disruption/LongGCDisruption.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/disruption/NetworkDelaysPartition.java b/test/framework/src/main/java/org/elasticsearch/test/disruption/NetworkDelaysPartition.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/disruption/NetworkDelaysPartition.java rename to test/framework/src/main/java/org/elasticsearch/test/disruption/NetworkDelaysPartition.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/disruption/NetworkDisconnectPartition.java b/test/framework/src/main/java/org/elasticsearch/test/disruption/NetworkDisconnectPartition.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/disruption/NetworkDisconnectPartition.java rename to test/framework/src/main/java/org/elasticsearch/test/disruption/NetworkDisconnectPartition.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/disruption/NetworkPartition.java b/test/framework/src/main/java/org/elasticsearch/test/disruption/NetworkPartition.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/disruption/NetworkPartition.java rename to test/framework/src/main/java/org/elasticsearch/test/disruption/NetworkPartition.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/disruption/NetworkPartitionIT.java b/test/framework/src/main/java/org/elasticsearch/test/disruption/NetworkPartitionIT.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/disruption/NetworkPartitionIT.java rename to test/framework/src/main/java/org/elasticsearch/test/disruption/NetworkPartitionIT.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/disruption/NetworkUnresponsivePartition.java b/test/framework/src/main/java/org/elasticsearch/test/disruption/NetworkUnresponsivePartition.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/disruption/NetworkUnresponsivePartition.java rename to test/framework/src/main/java/org/elasticsearch/test/disruption/NetworkUnresponsivePartition.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/disruption/NoOpDisruptionScheme.java b/test/framework/src/main/java/org/elasticsearch/test/disruption/NoOpDisruptionScheme.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/disruption/NoOpDisruptionScheme.java rename to test/framework/src/main/java/org/elasticsearch/test/disruption/NoOpDisruptionScheme.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/disruption/ServiceDisruptionScheme.java b/test/framework/src/main/java/org/elasticsearch/test/disruption/ServiceDisruptionScheme.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/disruption/ServiceDisruptionScheme.java rename to test/framework/src/main/java/org/elasticsearch/test/disruption/ServiceDisruptionScheme.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/disruption/SingleNodeDisruption.java b/test/framework/src/main/java/org/elasticsearch/test/disruption/SingleNodeDisruption.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/disruption/SingleNodeDisruption.java rename to test/framework/src/main/java/org/elasticsearch/test/disruption/SingleNodeDisruption.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/disruption/SlowClusterStateProcessing.java b/test/framework/src/main/java/org/elasticsearch/test/disruption/SlowClusterStateProcessing.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/disruption/SlowClusterStateProcessing.java rename to test/framework/src/main/java/org/elasticsearch/test/disruption/SlowClusterStateProcessing.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/engine/AssertingSearcher.java b/test/framework/src/main/java/org/elasticsearch/test/engine/AssertingSearcher.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/engine/AssertingSearcher.java rename to test/framework/src/main/java/org/elasticsearch/test/engine/AssertingSearcher.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/engine/MockEngineFactory.java b/test/framework/src/main/java/org/elasticsearch/test/engine/MockEngineFactory.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/engine/MockEngineFactory.java rename to test/framework/src/main/java/org/elasticsearch/test/engine/MockEngineFactory.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/engine/MockEngineSupport.java b/test/framework/src/main/java/org/elasticsearch/test/engine/MockEngineSupport.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/engine/MockEngineSupport.java rename to test/framework/src/main/java/org/elasticsearch/test/engine/MockEngineSupport.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/engine/MockInternalEngine.java b/test/framework/src/main/java/org/elasticsearch/test/engine/MockInternalEngine.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/engine/MockInternalEngine.java rename to test/framework/src/main/java/org/elasticsearch/test/engine/MockInternalEngine.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/engine/MockShadowEngine.java b/test/framework/src/main/java/org/elasticsearch/test/engine/MockShadowEngine.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/engine/MockShadowEngine.java rename to test/framework/src/main/java/org/elasticsearch/test/engine/MockShadowEngine.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/engine/ThrowingLeafReaderWrapper.java b/test/framework/src/main/java/org/elasticsearch/test/engine/ThrowingLeafReaderWrapper.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/engine/ThrowingLeafReaderWrapper.java rename to test/framework/src/main/java/org/elasticsearch/test/engine/ThrowingLeafReaderWrapper.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/gateway/NoopGatewayAllocator.java b/test/framework/src/main/java/org/elasticsearch/test/gateway/NoopGatewayAllocator.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/gateway/NoopGatewayAllocator.java rename to test/framework/src/main/java/org/elasticsearch/test/gateway/NoopGatewayAllocator.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/hamcrest/CollectionAssertions.java b/test/framework/src/main/java/org/elasticsearch/test/hamcrest/CollectionAssertions.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/hamcrest/CollectionAssertions.java rename to test/framework/src/main/java/org/elasticsearch/test/hamcrest/CollectionAssertions.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/hamcrest/CollectionMatchers.java b/test/framework/src/main/java/org/elasticsearch/test/hamcrest/CollectionMatchers.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/hamcrest/CollectionMatchers.java rename to test/framework/src/main/java/org/elasticsearch/test/hamcrest/CollectionMatchers.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/hamcrest/ElasticsearchAssertions.java b/test/framework/src/main/java/org/elasticsearch/test/hamcrest/ElasticsearchAssertions.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/hamcrest/ElasticsearchAssertions.java rename to test/framework/src/main/java/org/elasticsearch/test/hamcrest/ElasticsearchAssertions.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/hamcrest/ElasticsearchMatchers.java b/test/framework/src/main/java/org/elasticsearch/test/hamcrest/ElasticsearchMatchers.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/hamcrest/ElasticsearchMatchers.java rename to test/framework/src/main/java/org/elasticsearch/test/hamcrest/ElasticsearchMatchers.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/hamcrest/RegexMatcher.java b/test/framework/src/main/java/org/elasticsearch/test/hamcrest/RegexMatcher.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/hamcrest/RegexMatcher.java rename to test/framework/src/main/java/org/elasticsearch/test/hamcrest/RegexMatcher.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/junit/annotations/Network.java b/test/framework/src/main/java/org/elasticsearch/test/junit/annotations/Network.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/junit/annotations/Network.java rename to test/framework/src/main/java/org/elasticsearch/test/junit/annotations/Network.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/junit/annotations/TestLogging.java b/test/framework/src/main/java/org/elasticsearch/test/junit/annotations/TestLogging.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/junit/annotations/TestLogging.java rename to test/framework/src/main/java/org/elasticsearch/test/junit/annotations/TestLogging.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/junit/listeners/LoggingListener.java b/test/framework/src/main/java/org/elasticsearch/test/junit/listeners/LoggingListener.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/junit/listeners/LoggingListener.java rename to test/framework/src/main/java/org/elasticsearch/test/junit/listeners/LoggingListener.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/junit/listeners/ReproduceInfoPrinter.java b/test/framework/src/main/java/org/elasticsearch/test/junit/listeners/ReproduceInfoPrinter.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/junit/listeners/ReproduceInfoPrinter.java rename to test/framework/src/main/java/org/elasticsearch/test/junit/listeners/ReproduceInfoPrinter.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/junit/rule/RepeatOnExceptionRule.java b/test/framework/src/main/java/org/elasticsearch/test/junit/rule/RepeatOnExceptionRule.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/junit/rule/RepeatOnExceptionRule.java rename to test/framework/src/main/java/org/elasticsearch/test/junit/rule/RepeatOnExceptionRule.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/BlacklistedPathPatternMatcher.java b/test/framework/src/main/java/org/elasticsearch/test/rest/BlacklistedPathPatternMatcher.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/BlacklistedPathPatternMatcher.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/BlacklistedPathPatternMatcher.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/FakeRestRequest.java b/test/framework/src/main/java/org/elasticsearch/test/rest/FakeRestRequest.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/FakeRestRequest.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/FakeRestRequest.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/RestTestCandidate.java b/test/framework/src/main/java/org/elasticsearch/test/rest/RestTestCandidate.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/RestTestCandidate.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/RestTestCandidate.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/RestTestExecutionContext.java b/test/framework/src/main/java/org/elasticsearch/test/rest/RestTestExecutionContext.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/RestTestExecutionContext.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/RestTestExecutionContext.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/Stash.java b/test/framework/src/main/java/org/elasticsearch/test/rest/Stash.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/Stash.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/Stash.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/client/RestClient.java b/test/framework/src/main/java/org/elasticsearch/test/rest/client/RestClient.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/client/RestClient.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/client/RestClient.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/client/RestException.java b/test/framework/src/main/java/org/elasticsearch/test/rest/client/RestException.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/client/RestException.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/client/RestException.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/client/RestPath.java b/test/framework/src/main/java/org/elasticsearch/test/rest/client/RestPath.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/client/RestPath.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/client/RestPath.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/client/RestResponse.java b/test/framework/src/main/java/org/elasticsearch/test/rest/client/RestResponse.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/client/RestResponse.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/client/RestResponse.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpDeleteWithEntity.java b/test/framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpDeleteWithEntity.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpDeleteWithEntity.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpDeleteWithEntity.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpGetWithEntity.java b/test/framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpGetWithEntity.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpGetWithEntity.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpGetWithEntity.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpRequestBuilder.java b/test/framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpRequestBuilder.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpRequestBuilder.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpRequestBuilder.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpResponse.java b/test/framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpResponse.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpResponse.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/client/http/HttpResponse.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/json/JsonPath.java b/test/framework/src/main/java/org/elasticsearch/test/rest/json/JsonPath.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/json/JsonPath.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/json/JsonPath.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/DoSectionParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/DoSectionParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/DoSectionParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/DoSectionParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/GreaterThanEqualToParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/GreaterThanEqualToParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/GreaterThanEqualToParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/GreaterThanEqualToParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/GreaterThanParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/GreaterThanParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/GreaterThanParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/GreaterThanParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/IsFalseParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/IsFalseParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/IsFalseParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/IsFalseParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/IsTrueParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/IsTrueParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/IsTrueParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/IsTrueParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/LengthParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/LengthParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/LengthParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/LengthParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/LessThanOrEqualToParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/LessThanOrEqualToParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/LessThanOrEqualToParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/LessThanOrEqualToParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/LessThanParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/LessThanParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/LessThanParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/LessThanParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/MatchParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/MatchParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/MatchParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/MatchParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestFragmentParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestFragmentParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestFragmentParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestFragmentParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestParseException.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestParseException.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestParseException.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestParseException.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestSectionParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestSectionParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestSectionParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestSectionParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestSuiteParseContext.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestSuiteParseContext.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestSuiteParseContext.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestSuiteParseContext.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestSuiteParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestSuiteParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestSuiteParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/RestTestSuiteParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/SetSectionParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/SetSectionParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/SetSectionParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/SetSectionParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/SetupSectionParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/SetupSectionParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/SetupSectionParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/SetupSectionParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/parser/SkipSectionParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/parser/SkipSectionParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/parser/SkipSectionParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/parser/SkipSectionParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/ApiCallSection.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/ApiCallSection.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/ApiCallSection.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/ApiCallSection.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/Assertion.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/Assertion.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/Assertion.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/Assertion.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/DoSection.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/DoSection.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/DoSection.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/DoSection.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/ExecutableSection.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/ExecutableSection.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/ExecutableSection.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/ExecutableSection.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/GreaterThanAssertion.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/GreaterThanAssertion.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/GreaterThanAssertion.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/GreaterThanAssertion.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/GreaterThanEqualToAssertion.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/GreaterThanEqualToAssertion.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/GreaterThanEqualToAssertion.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/GreaterThanEqualToAssertion.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/IsFalseAssertion.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/IsFalseAssertion.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/IsFalseAssertion.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/IsFalseAssertion.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/IsTrueAssertion.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/IsTrueAssertion.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/IsTrueAssertion.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/IsTrueAssertion.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/LengthAssertion.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/LengthAssertion.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/LengthAssertion.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/LengthAssertion.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/LessThanAssertion.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/LessThanAssertion.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/LessThanAssertion.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/LessThanAssertion.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/LessThanOrEqualToAssertion.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/LessThanOrEqualToAssertion.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/LessThanOrEqualToAssertion.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/LessThanOrEqualToAssertion.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/MatchAssertion.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/MatchAssertion.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/MatchAssertion.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/MatchAssertion.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/RestTestSuite.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/RestTestSuite.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/RestTestSuite.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/RestTestSuite.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/SetSection.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/SetSection.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/SetSection.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/SetSection.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/SetupSection.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/SetupSection.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/SetupSection.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/SetupSection.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/SkipSection.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/SkipSection.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/SkipSection.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/SkipSection.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/section/TestSection.java b/test/framework/src/main/java/org/elasticsearch/test/rest/section/TestSection.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/section/TestSection.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/section/TestSection.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/spec/RestApi.java b/test/framework/src/main/java/org/elasticsearch/test/rest/spec/RestApi.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/spec/RestApi.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/spec/RestApi.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/spec/RestApiParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/spec/RestApiParser.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/spec/RestApiParser.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/spec/RestApiParser.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/spec/RestSpec.java b/test/framework/src/main/java/org/elasticsearch/test/rest/spec/RestSpec.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/spec/RestSpec.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/spec/RestSpec.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/support/Features.java b/test/framework/src/main/java/org/elasticsearch/test/rest/support/Features.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/support/Features.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/support/Features.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/rest/support/FileUtils.java b/test/framework/src/main/java/org/elasticsearch/test/rest/support/FileUtils.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/rest/support/FileUtils.java rename to test/framework/src/main/java/org/elasticsearch/test/rest/support/FileUtils.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/store/MockFSDirectoryService.java b/test/framework/src/main/java/org/elasticsearch/test/store/MockFSDirectoryService.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/store/MockFSDirectoryService.java rename to test/framework/src/main/java/org/elasticsearch/test/store/MockFSDirectoryService.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/store/MockFSIndexStore.java b/test/framework/src/main/java/org/elasticsearch/test/store/MockFSIndexStore.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/store/MockFSIndexStore.java rename to test/framework/src/main/java/org/elasticsearch/test/store/MockFSIndexStore.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/transport/AssertingLocalTransport.java b/test/framework/src/main/java/org/elasticsearch/test/transport/AssertingLocalTransport.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/transport/AssertingLocalTransport.java rename to test/framework/src/main/java/org/elasticsearch/test/transport/AssertingLocalTransport.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/transport/CapturingTransport.java b/test/framework/src/main/java/org/elasticsearch/test/transport/CapturingTransport.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/transport/CapturingTransport.java rename to test/framework/src/main/java/org/elasticsearch/test/transport/CapturingTransport.java diff --git a/test-framework/src/main/java/org/elasticsearch/test/transport/MockTransportService.java b/test/framework/src/main/java/org/elasticsearch/test/transport/MockTransportService.java similarity index 100% rename from test-framework/src/main/java/org/elasticsearch/test/transport/MockTransportService.java rename to test/framework/src/main/java/org/elasticsearch/test/transport/MockTransportService.java diff --git a/test-framework/src/main/resources/log4j.properties b/test/framework/src/main/resources/log4j.properties similarity index 100% rename from test-framework/src/main/resources/log4j.properties rename to test/framework/src/main/resources/log4j.properties diff --git a/test-framework/src/test/java/org/elasticsearch/test/rest/BlacklistedPathPatternMatcherTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/BlacklistedPathPatternMatcherTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/rest/BlacklistedPathPatternMatcherTests.java rename to test/framework/src/test/java/org/elasticsearch/test/rest/BlacklistedPathPatternMatcherTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/rest/test/AbstractParserTestCase.java b/test/framework/src/test/java/org/elasticsearch/test/rest/test/AbstractParserTestCase.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/rest/test/AbstractParserTestCase.java rename to test/framework/src/test/java/org/elasticsearch/test/rest/test/AbstractParserTestCase.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/rest/test/AssertionParsersTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/test/AssertionParsersTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/rest/test/AssertionParsersTests.java rename to test/framework/src/test/java/org/elasticsearch/test/rest/test/AssertionParsersTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/rest/test/DoSectionParserTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/test/DoSectionParserTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/rest/test/DoSectionParserTests.java rename to test/framework/src/test/java/org/elasticsearch/test/rest/test/DoSectionParserTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/rest/test/FileUtilsTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/test/FileUtilsTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/rest/test/FileUtilsTests.java rename to test/framework/src/test/java/org/elasticsearch/test/rest/test/FileUtilsTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/rest/test/JsonPathTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/test/JsonPathTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/rest/test/JsonPathTests.java rename to test/framework/src/test/java/org/elasticsearch/test/rest/test/JsonPathTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/rest/test/RestApiParserFailingTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/test/RestApiParserFailingTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/rest/test/RestApiParserFailingTests.java rename to test/framework/src/test/java/org/elasticsearch/test/rest/test/RestApiParserFailingTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/rest/test/RestApiParserTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/test/RestApiParserTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/rest/test/RestApiParserTests.java rename to test/framework/src/test/java/org/elasticsearch/test/rest/test/RestApiParserTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/rest/test/RestTestParserTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/test/RestTestParserTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/rest/test/RestTestParserTests.java rename to test/framework/src/test/java/org/elasticsearch/test/rest/test/RestTestParserTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/rest/test/SetSectionParserTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/test/SetSectionParserTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/rest/test/SetSectionParserTests.java rename to test/framework/src/test/java/org/elasticsearch/test/rest/test/SetSectionParserTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/rest/test/SetupSectionParserTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/test/SetupSectionParserTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/rest/test/SetupSectionParserTests.java rename to test/framework/src/test/java/org/elasticsearch/test/rest/test/SetupSectionParserTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/rest/test/SkipSectionParserTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/test/SkipSectionParserTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/rest/test/SkipSectionParserTests.java rename to test/framework/src/test/java/org/elasticsearch/test/rest/test/SkipSectionParserTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/rest/test/TestSectionParserTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/test/TestSectionParserTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/rest/test/TestSectionParserTests.java rename to test/framework/src/test/java/org/elasticsearch/test/rest/test/TestSectionParserTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/test/InternalTestClusterTests.java b/test/framework/src/test/java/org/elasticsearch/test/test/InternalTestClusterTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/test/InternalTestClusterTests.java rename to test/framework/src/test/java/org/elasticsearch/test/test/InternalTestClusterTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/test/LoggingListenerTests.java b/test/framework/src/test/java/org/elasticsearch/test/test/LoggingListenerTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/test/LoggingListenerTests.java rename to test/framework/src/test/java/org/elasticsearch/test/test/LoggingListenerTests.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/test/SuiteScopeClusterIT.java b/test/framework/src/test/java/org/elasticsearch/test/test/SuiteScopeClusterIT.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/test/SuiteScopeClusterIT.java rename to test/framework/src/test/java/org/elasticsearch/test/test/SuiteScopeClusterIT.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/test/TestScopeClusterIT.java b/test/framework/src/test/java/org/elasticsearch/test/test/TestScopeClusterIT.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/test/TestScopeClusterIT.java rename to test/framework/src/test/java/org/elasticsearch/test/test/TestScopeClusterIT.java diff --git a/test-framework/src/test/java/org/elasticsearch/test/test/VersionUtilsTests.java b/test/framework/src/test/java/org/elasticsearch/test/test/VersionUtilsTests.java similarity index 100% rename from test-framework/src/test/java/org/elasticsearch/test/test/VersionUtilsTests.java rename to test/framework/src/test/java/org/elasticsearch/test/test/VersionUtilsTests.java diff --git a/test-framework/src/test/resources/rest-api-spec/test/suite1/10_basic.yaml b/test/framework/src/test/resources/rest-api-spec/test/suite1/10_basic.yaml similarity index 100% rename from test-framework/src/test/resources/rest-api-spec/test/suite1/10_basic.yaml rename to test/framework/src/test/resources/rest-api-spec/test/suite1/10_basic.yaml diff --git a/test-framework/src/test/resources/rest-api-spec/test/suite1/20_another_test.yaml b/test/framework/src/test/resources/rest-api-spec/test/suite1/20_another_test.yaml similarity index 100% rename from test-framework/src/test/resources/rest-api-spec/test/suite1/20_another_test.yaml rename to test/framework/src/test/resources/rest-api-spec/test/suite1/20_another_test.yaml diff --git a/test-framework/src/test/resources/rest-api-spec/test/suite2/10_basic.yaml b/test/framework/src/test/resources/rest-api-spec/test/suite2/10_basic.yaml similarity index 100% rename from test-framework/src/test/resources/rest-api-spec/test/suite2/10_basic.yaml rename to test/framework/src/test/resources/rest-api-spec/test/suite2/10_basic.yaml diff --git a/test-framework/src/test/resources/rest-api-spec/test/suite2/15_test2.yaml b/test/framework/src/test/resources/rest-api-spec/test/suite2/15_test2.yaml similarity index 100% rename from test-framework/src/test/resources/rest-api-spec/test/suite2/15_test2.yaml rename to test/framework/src/test/resources/rest-api-spec/test/suite2/15_test2.yaml