* Test using forceSync on a FilterFileSystem; make sure the sync happens on the disk
*/
public void testFilterFileSystemForceSync() throws Exception {
DistributedFileSystem fileSystem =
(DistributedFileSystem) cluster.getFileSystem();
FilterFileSystem filterFS = new FilterFileSystem(fileSystem);
String filename = "/testFileForceSync";
Path path = new Path(filename);
boolean forceSync = true;
DFSClient dfsClient = ((DistributedFileSystem) fileSystem).getClient();
FSDataOutputStream out = filterFS.create(
path, FsPermission.getDefault(), true,
BUFFER_SIZE, REPLICATION_NUM, (long)BLOCK_SIZE,
BYTES_PER_CHECKSUM,
new Progressable() {
@Override