File tree Expand file tree Collapse file tree 5 files changed +3
-8
lines changed
server/src/test/java/org/elasticsearch/discovery Expand file tree Collapse file tree 5 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 8484/**
8585 * Tests various cluster operations (e.g., indexing) during disruptions.
8686 */
87- @ TestLogging ("_root:DEBUG,org.elasticsearch.cluster.service:TRACE" )
8887@ ESIntegTestCase .ClusterScope (scope = ESIntegTestCase .Scope .TEST , numDataNodes = 0 )
8988public class ClusterDisruptionIT extends AbstractDisruptionTestCase {
9089
@@ -110,6 +109,7 @@ static ConflictMode randomMode() {
110109 "org.elasticsearch.discovery:TRACE,org.elasticsearch.action.support.replication:TRACE," +
111110 "org.elasticsearch.cluster.service:TRACE,org.elasticsearch.indices.recovery:TRACE," +
112111 "org.elasticsearch.indices.cluster:TRACE,org.elasticsearch.index.shard:TRACE" )
112+ // TestLogging for https://github.com/elastic/elasticsearch/issues/41068
113113 public void testAckedIndexing () throws Exception {
114114
115115 final int seconds = !(TEST_NIGHTLY && rarely ()) ? 1 : 5 ;
Original file line number Diff line number Diff line change 3131import org .elasticsearch .test .disruption .NetworkDisruption .NetworkDisconnect ;
3232import org .elasticsearch .test .disruption .ServiceDisruptionScheme ;
3333import org .elasticsearch .test .disruption .SlowClusterStateProcessing ;
34- import org .elasticsearch .test .junit .annotations .TestLogging ;
3534import org .elasticsearch .test .transport .MockTransportService ;
3635import org .elasticsearch .transport .Transport ;
3736import org .elasticsearch .transport .TransportService ;
4746/**
4847 * Tests for discovery during disruptions.
4948 */
50- @ TestLogging ("_root:DEBUG,org.elasticsearch.cluster.service:TRACE" )
5149@ ESIntegTestCase .ClusterScope (scope = ESIntegTestCase .Scope .TEST , numDataNodes = 0 )
5250public class DiscoveryDisruptionIT extends AbstractDisruptionTestCase {
5351
Original file line number Diff line number Diff line change 3030import org .elasticsearch .test .BackgroundIndexer ;
3131import org .elasticsearch .test .ESIntegTestCase ;
3232import org .elasticsearch .test .InternalTestCluster ;
33- import org .elasticsearch .test .junit .annotations .TestLogging ;
3433import org .junit .After ;
3534import org .junit .AfterClass ;
3635import org .junit .BeforeClass ;
4948import static org .elasticsearch .test .hamcrest .ElasticsearchAssertions .assertAcked ;
5049import static org .hamcrest .Matchers .greaterThanOrEqualTo ;
5150
52- @ TestLogging ("_root:DEBUG,org.elasticsearch.cluster.service:TRACE" )
5351@ ESIntegTestCase .ClusterScope (scope = ESIntegTestCase .Scope .TEST , numDataNodes = 0 )
5452public class DiskDisruptionIT extends AbstractDisruptionTestCase {
5553
Original file line number Diff line number Diff line change 3636import org .elasticsearch .test .disruption .NetworkDisruption .TwoPartitions ;
3737import org .elasticsearch .test .disruption .ServiceDisruptionScheme ;
3838import org .elasticsearch .test .disruption .SingleNodeDisruption ;
39- import org .elasticsearch .test .junit .annotations .TestLogging ;
4039
4140import java .util .ArrayList ;
4241import java .util .HashSet ;
5049/**
5150 * Tests relating to the loss of the master.
5251 */
53- @ TestLogging ("_root:DEBUG,org.elasticsearch.cluster.service:TRACE" )
5452@ ESIntegTestCase .ClusterScope (scope = ESIntegTestCase .Scope .TEST , numDataNodes = 0 )
5553public class MasterDisruptionIT extends AbstractDisruptionTestCase {
5654
Original file line number Diff line number Diff line change 6565 * Tests relating to the loss of the master, but which work with the default fault detection settings which are rather lenient and will
6666 * not detect a master failure too quickly.
6767 */
68- @ TestLogging ("_root:DEBUG,org.elasticsearch.cluster.service:TRACE" )
6968@ ESIntegTestCase .ClusterScope (scope = ESIntegTestCase .Scope .TEST , numDataNodes = 0 )
7069public class StableMasterDisruptionIT extends ESIntegTestCase {
7170
@@ -174,6 +173,8 @@ private void testFollowerCheckerAfterMasterReelection(NetworkLinkDisruptionType
174173 * Tests that emulates a frozen elected master node that unfreezes and pushes its cluster state to other nodes that already are
175174 * following another elected master node. These nodes should reject this cluster state and prevent them from following the stale master.
176175 */
176+ @ TestLogging ("_root:DEBUG,org.elasticsearch.cluster.service:TRACE" )
177+ // TestLogging for https://github.com/elastic/elasticsearch/issues/43392
177178 public void testStaleMasterNotHijackingMajority () throws Exception {
178179 final List <String > nodes = internalCluster ().startNodes (3 , Settings .builder ()
179180 .put (LeaderChecker .LEADER_CHECK_TIMEOUT_SETTING .getKey (), "1s" )
You can’t perform that action at this time.
0 commit comments