remove invalid assertion
This commit is contained in:
parent
95dcc68c57
commit
3a9d6b7024
|
@ -157,9 +157,16 @@ public class TestPTQL extends SigarTestCase {
|
||||||
assertTrue(THIS_PROCESS,
|
assertTrue(THIS_PROCESS,
|
||||||
runQuery(sigar, THIS_PROCESS) == 1);
|
runQuery(sigar, THIS_PROCESS) == 1);
|
||||||
|
|
||||||
assertTrue(JAVA_PROCESS + " vs. " + OTHER_JAVA_PROCESS,
|
int numProcs = runQuery(sigar, JAVA_PROCESS);
|
||||||
runQuery(sigar, JAVA_PROCESS) !=
|
int numOtherProcs = runQuery(sigar, OTHER_JAVA_PROCESS);
|
||||||
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++) {
|
for (int i=0; i<OK_QUERIES.length; i++) {
|
||||||
String qs = OK_QUERIES[i];
|
String qs = OK_QUERIES[i];
|
||||||
|
|
Loading…
Reference in New Issue