(TestProcess p)
| 167 | |
| 168 | // @Test(mainClass = ManyProcessApp.class, os = Os.LINUX) |
| 169 | public void highProcessCount(TestProcess p) throws Exception { |
| 170 | p.profile("--proc 4 -d 8 -f %f.jfr"); |
| 171 | try (JfrReader jfr = new JfrReader(p.getFilePath("%f"))) { |
| 172 | List<ProcessSample> events = jfr.readAllEvents(ProcessSample.class); |
| 173 | |
| 174 | Assert.isLess(events.size(), 5001); |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | @Test(mainClass = BasicApp.class, os = Os.MACOS) |
| 179 | public void processSamplingNotSupportedOnMacOS(TestProcess p) throws Exception { |
nothing calls this directly
no test coverage detected