mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 22:36:20 +00:00
TEST: Add engine log to testCorruptFileThenSnapshotAndRestore
Relates #30577
This commit is contained in:
parent
6bb2a1da22
commit
95f52f07ce
@ -470,7 +470,7 @@ public class CorruptedFileIT extends ESIntegTestCase {
|
|||||||
* TODO once checksum verification on snapshotting is implemented this test needs to be fixed or split into several
|
* TODO once checksum verification on snapshotting is implemented this test needs to be fixed or split into several
|
||||||
* parts... We should also corrupt files on the actual snapshot and check that we don't restore the corrupted shard.
|
* parts... We should also corrupt files on the actual snapshot and check that we don't restore the corrupted shard.
|
||||||
*/
|
*/
|
||||||
@TestLogging("org.elasticsearch.repositories:TRACE,org.elasticsearch.snapshots:TRACE")
|
@TestLogging("org.elasticsearch.repositories:TRACE,org.elasticsearch.snapshots:TRACE,org.elasticsearch.index.engine:DEBUG")
|
||||||
public void testCorruptFileThenSnapshotAndRestore() throws ExecutionException, InterruptedException, IOException {
|
public void testCorruptFileThenSnapshotAndRestore() throws ExecutionException, InterruptedException, IOException {
|
||||||
int numDocs = scaledRandomIntBetween(100, 1000);
|
int numDocs = scaledRandomIntBetween(100, 1000);
|
||||||
internalCluster().ensureAtLeastNumDataNodes(2);
|
internalCluster().ensureAtLeastNumDataNodes(2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user