remove invalid assertion
This commit is contained in:
parent
8aa5b486e8
commit
68559e2d24
|
@ -157,9 +157,16 @@ public class TestPTQL extends SigarTestCase {
|
|||
assertTrue(THIS_PROCESS,
|
||||
runQuery(sigar, THIS_PROCESS) == 1);
|
||||
|
||||
assertTrue(JAVA_PROCESS + " vs. " + OTHER_JAVA_PROCESS,
|
||||
runQuery(sigar, JAVA_PROCESS) !=
|
||||
runQuery(sigar, OTHER_JAVA_PROCESS));
|
||||
int numProcs = runQuery(sigar, JAVA_PROCESS);
|
||||
int numOtherProcs = runQuery(sigar, OTHER_JAVA_PROCESS);
|
||||
String msg =
|
||||
JAVA_PROCESS +
|
||||
" [" + numProcs + "] vs. [" + numOtherProcs + "] "+
|
||||
OTHER_JAVA_PROCESS;
|
||||
|
||||
//process may have gone away in between runQuery's above.
|
||||
//assertTrue(msg, numProcs != numOtherProcs);
|
||||
traceln(msg);
|
||||
|
||||
for (int i=0; i<OK_QUERIES.length; i++) {
|
||||
String qs = OK_QUERIES[i];
|
||||
|
|
Loading…
Reference in New Issue