Skip to content

Commit cbc79b5

Browse files
authored
HDDS-15126. Remove unused TestHDDSUpgrade (#10148)
1 parent 7988537 commit cbc79b5

3 files changed

Lines changed: 0 additions & 934 deletions

File tree

hadoop-hdds/framework/src/test/java/org/apache/hadoop/ozone/upgrade/UpgradeTestUtils.java

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -96,29 +96,4 @@ public static File createVersionFile(File parentDir,
9696

9797
return executor;
9898
}
99-
100-
/**
101-
* @param haltingPoint Where to halt finalization in the returned
102-
* executor's {@code execute} method.
103-
* @param terminateLatch The latch that will be counted down 1 by the
104-
* executor when the upgrade finalization has been terminated.
105-
* @param log Where to log messages about pausing and resuming finalization.
106-
* @return A new InjectedUpgradeFinalizationExecutor
107-
*/
108-
public static <T> InjectedUpgradeFinalizationExecutor<T>
109-
newTerminatingFinalizationExecutor(
110-
UpgradeTestInjectionPoints haltingPoint,
111-
CountDownLatch terminateLatch, Logger log) {
112-
InjectedUpgradeFinalizationExecutor<T>
113-
executor =
114-
new InjectedUpgradeFinalizationExecutor<>();
115-
executor.configureTestInjectionFunction(haltingPoint, () -> {
116-
log.info("Terminating upgrade finalization at point: {}. This is " +
117-
"expected test execution.", haltingPoint);
118-
terminateLatch.countDown();
119-
return true;
120-
});
121-
122-
return executor;
123-
}
12499
}

0 commit comments

Comments
 (0)