|
@@ -273,7 +273,7 @@ public class TestFileCreation {
|
|
|
defaults.getDefaultStoragePolicyId());
|
|
|
doReturn(newDefaults).when(spyNamesystem).getServerDefaults();
|
|
|
|
|
|
- // Verify that the value is updated correctly. Wait for 3 seconds.
|
|
|
+ // Verify that the value is updated correctly. Wait for 6 seconds.
|
|
|
GenericTestUtils.waitFor(()->{
|
|
|
try {
|
|
|
FsServerDefaults currDef = dfsClient.getServerDefaults();
|
|
@@ -282,7 +282,7 @@ public class TestFileCreation {
|
|
|
// do nothing;
|
|
|
return false;
|
|
|
}
|
|
|
- }, 1, 3000);
|
|
|
+ }, 1, 6000);
|
|
|
|
|
|
} finally {
|
|
|
cluster.shutdown();
|