[tests] Replace JPS and stdout based PID retrieval by Process.getPid()

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: None
    • Component/s: core-svc
    • b22

      Many tests currently use the combination of JPS output parsing and the target app stdout parsing to obtain the target app PID,

      While this works it is cumbersome and can lead to intermittent failures due to timeouts or implementation problems (cygwin).

      Rather than using these workarounds the new API Process.getPid() should be used.

            Assignee:
            Jaroslav BachorĂ­k
            Reporter:
            Jaroslav BachorĂ­k
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: