modules/enterprise/server/itests-2/src/test/java/org/rhq/enterprise/server/system/SystemManagerBeanTest.java
| 19 ++++++----
1 file changed, 12 insertions(+), 7 deletions(-)
New commits:
commit 379b3039453268e473ed402d4bd317b1544e9af8
Author: Jay Shaughnessy <jshaughn(a)redhat.com>
Date: Fri Mar 1 15:35:23 2013 -0500
Rearrange tests to vacuum comes before analyze. There is no real good reason
for this, we're seeing if it resolves an issue with a Jenkins run.
diff --git
a/modules/enterprise/server/itests-2/src/test/java/org/rhq/enterprise/server/system/SystemManagerBeanTest.java
b/modules/enterprise/server/itests-2/src/test/java/org/rhq/enterprise/server/system/SystemManagerBeanTest.java
index 104ff85..3d9e15e 100644
---
a/modules/enterprise/server/itests-2/src/test/java/org/rhq/enterprise/server/system/SystemManagerBeanTest.java
+++
b/modules/enterprise/server/itests-2/src/test/java/org/rhq/enterprise/server/system/SystemManagerBeanTest.java
@@ -55,13 +55,17 @@ public class SystemManagerBeanTest extends AbstractEJB3Test {
unprepareServerPluginService();
}
- @SuppressWarnings("deprecation")
- public void testGetSystemConfiguration() {
- assert null != systemManager.getSystemConfiguration(overlord);
+ public void testVacuum() {
+ System.out.println("Starting Vacuum");
+ systemManager.vacuum(overlord);
+ System.out.println("Done with Vacuum");
}
+ @Test(dependsOnMethods = { "testVacuum" })
public void testAnalyze() {
+ System.out.println("Starting Analyze");
systemManager.analyze(overlord);
+ System.out.println("Done with Analyze");
}
public void testEnableHibernateStatistics() {
@@ -76,15 +80,16 @@ public class SystemManagerBeanTest extends AbstractEJB3Test {
systemManager.reindex(overlord);
}
- public void testVacuum() {
- systemManager.vacuum(overlord);
- }
-
public void testVacuumAppdef() {
systemManager.vacuumAppdef(overlord);
}
@SuppressWarnings("deprecation")
+ public void testGetSystemConfiguration() {
+ assert null != systemManager.getSystemConfiguration(overlord);
+ }
+
+ @SuppressWarnings("deprecation")
public void testLegacySystemSettingsInCorrectFormat() throws Exception {
//some of the properties are represented differently
//in the new style settings and the the old style
Show replies by date