[HUDI-2077] Fix flakiness in TestHoodieDeltaStreamer (#3829)
This commit is contained in:
@@ -51,6 +51,7 @@ import org.apache.hudi.testutils.providers.SparkProvider;
|
||||
|
||||
import org.apache.hadoop.conf.Configuration;
|
||||
import org.apache.hadoop.fs.FileStatus;
|
||||
import org.apache.hadoop.fs.FileSystem;
|
||||
import org.apache.hadoop.fs.Path;
|
||||
import org.apache.spark.SparkConf;
|
||||
import org.apache.spark.api.java.JavaRDD;
|
||||
@@ -114,6 +115,10 @@ public class SparkClientFunctionalTestHarness implements SparkProvider, HoodieMe
|
||||
return jsc.hadoopConfiguration();
|
||||
}
|
||||
|
||||
public FileSystem fs() {
|
||||
return FSUtils.getFs(basePath(), hadoopConf());
|
||||
}
|
||||
|
||||
@Override
|
||||
public HoodieSparkEngineContext context() {
|
||||
return context;
|
||||
|
||||
Reference in New Issue
Block a user