|
@@ -58,17 +58,6 @@ public class TestSleepJob extends CommonJobTest {
|
|
|
}
|
|
|
|
|
|
|
|
|
- /*
|
|
|
- * test RandomLocation
|
|
|
- */
|
|
|
- @Test (timeout=100000)
|
|
|
- public void testRandomLocation() throws Exception {
|
|
|
- UserGroupInformation ugi = UserGroupInformation.getLoginUser();
|
|
|
-
|
|
|
- testRandomLocation(1, 10, ugi);
|
|
|
- testRandomLocation(2, 10, ugi);
|
|
|
- }
|
|
|
-
|
|
|
@Test (timeout=500000)
|
|
|
public void testMapTasksOnlySleepJobs() throws Exception {
|
|
|
Configuration configuration = GridmixTestUtils.mrvl.getConfig();
|
|
@@ -90,6 +79,17 @@ public class TestSleepJob extends CommonJobTest {
|
|
|
assertEquals(6, seq);
|
|
|
}
|
|
|
|
|
|
+ /*
|
|
|
+ * test RandomLocation
|
|
|
+ */
|
|
|
+ @Test (timeout=100000)
|
|
|
+ public void testRandomLocation() throws Exception {
|
|
|
+ UserGroupInformation ugi = UserGroupInformation.getLoginUser();
|
|
|
+
|
|
|
+ testRandomLocation(1, 10, ugi);
|
|
|
+ testRandomLocation(2, 10, ugi);
|
|
|
+ }
|
|
|
+
|
|
|
// test Serial submit
|
|
|
@Test (timeout=500000)
|
|
|
public void testSerialSubmit() throws Exception {
|