assert -> trace testSelf

This commit is contained in:
Doug MacEachern 2008-08-09 16:04:37 +00:00
parent 8316f5e619
commit 46b48a5460
1 changed files with 3 additions and 3 deletions

View File

@ -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));
} }
} }