summaryrefslogtreecommitdiff
path: root/qpid/java/systests/src
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/java/systests/src')
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/systest/rest/VirtualHostRestTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/systest/rest/VirtualHostRestTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/systest/rest/VirtualHostRestTest.java
index 1e49351323..1823b59ba3 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/systest/rest/VirtualHostRestTest.java
+++ b/qpid/java/systests/src/main/java/org/apache/qpid/systest/rest/VirtualHostRestTest.java
@@ -128,7 +128,7 @@ public class VirtualHostRestTest extends QpidRestTestCase
public void testPutCreateVirtualHostUsingConfigPath() throws Exception
{
- String hostName = getTestName();
+ String hostName = getName();
File configFile = TestFileUtils.createTempFile(this, hostName + "-config.xml");
String configPath = configFile.getAbsolutePath();
String storeLocation = getStoreLocation(hostName);
@@ -575,9 +575,9 @@ public class VirtualHostRestTest extends QpidRestTestCase
throws ConfigurationException
{
XMLConfiguration testConfiguration = new XMLConfiguration();
- testConfiguration.setProperty("virtualhosts.virtualhost." + hostName + ".store.class",
+ testConfiguration.setProperty("virtualhost." + hostName + ".store.class",
getTestProfileMessageStoreClassName());
- testConfiguration.setProperty("virtualhosts.virtualhost." + hostName + ".store.environment-path", storeLocation);
+ testConfiguration.setProperty("virtualhost." + hostName + ".store.environment-path", storeLocation);
testConfiguration.save(configFile);
return testConfiguration;
}