equal
deleted
inserted
replaced
83 System.out.println("D"); |
83 System.out.println("D"); |
84 Asserts.assertTrue(bean.getRecordings().stream().anyMatch(r -> { return r.getId() == recId; }), "recId not found"); |
84 Asserts.assertTrue(bean.getRecordings().stream().anyMatch(r -> { return r.getId() == recId; }), "recId not found"); |
85 System.out.println("E"); |
85 System.out.println("E"); |
86 bean.stopRecording(recId); |
86 bean.stopRecording(recId); |
87 |
87 |
88 final Path path = Paths.get(".", String.format("rec%d.jfr", recId)); |
88 final Path path = Paths.get(".", "rec" + recId + ".jfr"); |
89 bean.copyTo(recId, path.toString()); |
89 bean.copyTo(recId, path.toString()); |
90 //EventSet events = EventSet.fromFile(path); |
90 //EventSet events = EventSet.fromFile(path); |
91 return recId; |
91 return recId; |
92 } |
92 } |
93 |
93 |