|
@@ -42,6 +42,9 @@ public class TestRenameWhileOpen extends junit.framework.TestCase {
|
|
|
* move /user/dir1 /user/dir3
|
|
|
*/
|
|
|
public void testWhileOpenRenameParent() throws IOException {
|
|
|
+ /* XXX This test is temporarily disabled since sync() is not supported in
|
|
|
+ * 0.18.3. This is a 0.18.3 only change. */
|
|
|
+ if (true) return;
|
|
|
Configuration conf = new Configuration();
|
|
|
final int MAX_IDLE_TIME = 2000; // 2s
|
|
|
conf.setInt("ipc.client.connection.maxidletime", MAX_IDLE_TIME);
|
|
@@ -114,6 +117,9 @@ public class TestRenameWhileOpen extends junit.framework.TestCase {
|
|
|
* move /user/dir1 /user/dir3
|
|
|
*/
|
|
|
public void testWhileOpenRenameParentToNonexistentDir() throws IOException {
|
|
|
+ /* XXX This test is temporarily disabled since sync() is not supported in
|
|
|
+ * 0.19.1. */
|
|
|
+ if (true) return;
|
|
|
Configuration conf = new Configuration();
|
|
|
final int MAX_IDLE_TIME = 2000; // 2s
|
|
|
conf.setInt("ipc.client.connection.maxidletime", MAX_IDLE_TIME);
|
|
@@ -186,6 +192,9 @@ public class TestRenameWhileOpen extends junit.framework.TestCase {
|
|
|
* move /user/dir1/file1 /user/dir2/
|
|
|
*/
|
|
|
public void testWhileOpenRenameToExistentDirectory() throws IOException {
|
|
|
+ /* XXX This test is temporarily disabled since sync() is not supported in
|
|
|
+ * 0.19.1 */
|
|
|
+ if (true) return;
|
|
|
Configuration conf = new Configuration();
|
|
|
final int MAX_IDLE_TIME = 2000; // 2s
|
|
|
conf.setInt("ipc.client.connection.maxidletime", MAX_IDLE_TIME);
|
|
@@ -248,6 +257,9 @@ public class TestRenameWhileOpen extends junit.framework.TestCase {
|
|
|
* move /user/dir1/file1 /user/dir2/
|
|
|
*/
|
|
|
public void testWhileOpenRenameToNonExistentDirectory() throws IOException {
|
|
|
+ /* XXX This test is temporarily disabled since sync() is not supported in
|
|
|
+ * 0.19.1 */
|
|
|
+ if (true) return;
|
|
|
Configuration conf = new Configuration();
|
|
|
final int MAX_IDLE_TIME = 2000; // 2s
|
|
|
conf.setInt("ipc.client.connection.maxidletime", MAX_IDLE_TIME);
|