Changing reference to Spring context configuration file in the @ContextConfiguration annotation to a relative location to avoid any potential failures from an unresovable configuration reference.

This commit is contained in:
John Blum
2013-11-12 13:30:26 -08:00
parent 93ba141e3c
commit 2d92aa3ebd

View File

@@ -35,7 +35,7 @@ import com.gemstone.gemfire.cache.server.CacheServer;
* @author David Turanski
*/
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations="/org/springframework/data/gemfire/config/server-ns.xml",
@ContextConfiguration(locations="server-ns.xml",
initializers=GemfireTestApplicationContextInitializer.class)
public class CacheServerNamespaceTest {