assert -> trace testSelf
This commit is contained in:
		
							parent
							
								
									8316f5e619
								
							
						
					
					
						commit
						46b48a5460
					
				@ -201,10 +201,10 @@ public class TestPTQL extends SigarTestCase {
 | 
				
			|||||||
        Sigar sigar = getSigar();
 | 
					        Sigar sigar = getSigar();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //should have eaten some cpu during this test
 | 
					        //should have eaten some cpu during this test
 | 
				
			||||||
        ProcessQuery status = 
 | 
					        String q = "Cpu.Percent.ge=0.01";
 | 
				
			||||||
            this.qf.getQuery("Cpu.Percent.ge=0.01");
 | 
					        ProcessQuery status = this.qf.getQuery(q);
 | 
				
			||||||
        long pid = sigar.getPid();
 | 
					        long pid = sigar.getPid();
 | 
				
			||||||
        assertTrue(status.match(sigar, pid));
 | 
					        traceln(q + "=" + status.match(sigar, pid));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user