Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
import org.apache.hadoop.ozone.om.helpers.OmKeyLocationInfoGroup;
import org.apache.hadoop.ozone.om.helpers.OmVolumeArgs;
import org.apache.hadoop.ozone.recon.ReconConstants;
import org.apache.hadoop.ozone.recon.ReconServerConfigKeys;
import org.apache.hadoop.ozone.recon.ReconTestInjector;
import org.apache.hadoop.ozone.recon.api.types.ContainerDiscrepancyInfo;
import org.apache.hadoop.ozone.recon.api.types.ContainerKeyPrefix;
Expand Down Expand Up @@ -114,7 +115,6 @@
import org.apache.hadoop.ozone.recon.tasks.NSSummaryTaskWithFSO;
import org.apache.hadoop.ozone.recon.tasks.ReconOmTask;
import org.apache.ozone.recon.schema.ContainerSchemaDefinition.UnHealthyContainerStates;
import org.apache.ozone.test.tag.Flaky;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
Expand All @@ -124,7 +124,6 @@
/**
* Test for container endpoint.
*/
@Flaky("HDDS-14178")
public class TestContainerEndpoint {

@TempDir
Expand Down Expand Up @@ -237,6 +236,12 @@ public void setUp() throws Exception {
}

omConfiguration = new OzoneConfiguration();
// HDDS-14178: default parallel OM table reprocess is flaky in this test; pin to
// single iterator/worker for deterministic ContainerKeyMapper reprocess.
omConfiguration.setInt(
ReconServerConfigKeys.OZONE_RECON_TASK_REPROCESS_MAX_ITERATORS, 1);
omConfiguration.setInt(
ReconServerConfigKeys.OZONE_RECON_TASK_REPROCESS_MAX_WORKERS, 1);

List<OmKeyLocationInfo> omKeyLocationInfoList = new ArrayList<>();
BlockID blockID1 = new BlockID(1, 101);
Expand Down