Skip to content

Commit 82a6ae1

Browse files
authored
[CCR] Move ccr tests in core module back to ccr module (#33711)
When developing ccr it is not ideal if tests are in multiple modules. Even the classes these tests test are in the core module, it is easier if these tests are in ccr module in order to avoid running the test task in core module. This results in running many non ccr tests. This way when developing ccr we can run locally: ./gradlew x-pack:plugin:core:precommit x-pack:plugin:ccr:check before pushing to PR branches and be confident that the PR build passes, without running x-pack:plugin:core:check task.
1 parent b04faa0 commit 82a6ae1

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
* or more contributor license agreements. Licensed under the Elastic License;
44
* you may not use this file except in compliance with the Elastic License.
55
*/
6-
package org.elasticsearch.xpack.core.ccr;
6+
package org.elasticsearch.xpack.ccr;
77

88
import org.elasticsearch.common.io.stream.Writeable;
99
import org.elasticsearch.common.unit.TimeValue;
1010
import org.elasticsearch.common.xcontent.XContentParser;
1111
import org.elasticsearch.test.AbstractSerializingTestCase;
12+
import org.elasticsearch.xpack.core.ccr.AutoFollowMetadata;
1213

1314
import java.io.IOException;
1415
import java.util.Arrays;
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
* or more contributor license agreements. Licensed under the Elastic License;
44
* you may not use this file except in compliance with the Elastic License.
55
*/
6-
package org.elasticsearch.xpack.core.ccr.action;
6+
package org.elasticsearch.xpack.ccr.action;
77

88
import org.elasticsearch.test.AbstractStreamableTestCase;
9+
import org.elasticsearch.xpack.core.ccr.action.DeleteAutoFollowPatternAction;
910

1011
public class DeleteAutoFollowPatternRequestTests extends AbstractStreamableTestCase<DeleteAutoFollowPatternAction.Request> {
1112

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
* or more contributor license agreements. Licensed under the Elastic License;
44
* you may not use this file except in compliance with the Elastic License.
55
*/
6-
package org.elasticsearch.xpack.core.ccr.action;
6+
package org.elasticsearch.xpack.ccr.action;
77

88
import org.elasticsearch.action.ActionRequestValidationException;
99
import org.elasticsearch.common.unit.TimeValue;
1010
import org.elasticsearch.common.xcontent.XContentParser;
1111
import org.elasticsearch.test.AbstractStreamableXContentTestCase;
12+
import org.elasticsearch.xpack.core.ccr.action.PutAutoFollowPatternAction;
1213

1314
import java.io.IOException;
1415
import java.util.Arrays;

0 commit comments

Comments
 (0)