This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new 7778a16 Fix test failure when running under cobertura 7778a16 is described below commit 7778a166d83f27fa0e367f1f70511cc01eff70ea Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue Feb 2 17:56:30 2021 +0000 Fix test failure when running under cobertura --- test/org/apache/catalina/loader/TestVirtualWebappLoader.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/org/apache/catalina/loader/TestVirtualWebappLoader.java b/test/org/apache/catalina/loader/TestVirtualWebappLoader.java index 11d840e..8a158a9 100644 --- a/test/org/apache/catalina/loader/TestVirtualWebappLoader.java +++ b/test/org/apache/catalina/loader/TestVirtualWebappLoader.java @@ -54,6 +54,8 @@ public class TestVirtualWebappLoader extends TomcatBaseTest { loader.setContext(ctx); ctx.setLoader(loader); + ctx.setResources(new StandardRoot(ctx)); + ctx.resourcesStart(); loader.start(); Assert.assertSame(cl, loader.getClassLoader()); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org