Remove assertions for non-existant sensors in Tomcat live test

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-library/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-library/commit/45cd8052
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-library/tree/45cd8052
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-library/diff/45cd8052

Branch: refs/heads/0.6.0
Commit: 45cd80521a1cad2737936fc7ad60f64611e8f382
Parents: 87a2466
Author: Andrew Kennedy <[email protected]>
Authored: Wed Nov 13 16:17:27 2013 +0000
Committer: Andrew Kennedy <[email protected]>
Committed: Wed Nov 13 16:17:27 2013 +0000

----------------------------------------------------------------------
 .../brooklyn/entity/webapp/tomcat/TomcatServerEc2LiveTest.java    | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-library/blob/45cd8052/software/webapp/src/test/java/brooklyn/entity/webapp/tomcat/TomcatServerEc2LiveTest.java
----------------------------------------------------------------------
diff --git 
a/software/webapp/src/test/java/brooklyn/entity/webapp/tomcat/TomcatServerEc2LiveTest.java
 
b/software/webapp/src/test/java/brooklyn/entity/webapp/tomcat/TomcatServerEc2LiveTest.java
index d496402..e6b7259 100644
--- 
a/software/webapp/src/test/java/brooklyn/entity/webapp/tomcat/TomcatServerEc2LiveTest.java
+++ 
b/software/webapp/src/test/java/brooklyn/entity/webapp/tomcat/TomcatServerEc2LiveTest.java
@@ -39,9 +39,6 @@ public class TomcatServerEc2LiveTest extends 
AbstractEc2LiveTest {
                 assertNotNull(server.getAttribute(TomcatServer.REQUEST_COUNT));
                 assertNotNull(server.getAttribute(TomcatServer.ERROR_COUNT));
                 
assertNotNull(server.getAttribute(TomcatServer.TOTAL_PROCESSING_TIME));
-                
assertNotNull(server.getAttribute(TomcatServer.MAX_PROCESSING_TIME));
-                
assertNotNull(server.getAttribute(TomcatServer.BYTES_RECEIVED));
-                assertNotNull(server.getAttribute(TomcatServer.BYTES_SENT));
             }});
     }
     

Reply via email to