An error occurred while fetching the assigned milestone of the selected merge_request.
Adds priorities to BroadcastDeliveryReport and ImmediateMessageDelayReport
1 open thread
They both used a dummy priority up to now. This is now changed to the real one.
Merge request reports
Activity
179 182 183 @Test 184 public void testReportPrintsCorrectPriority() throws IOException { 185 // Skip warm up time. 186 this.clock.setTime(AFTER_WARM_UP_TIME); 187 188 // Create and deliver a message of a certain priority. 189 this.sender.createNewMessage(new Message(this.sender, this.receiver, "M1", 0, PRIORITY)); 190 ImmediateMessageDelayReportTest.transferMessage("M1", this.sender, this.receiver); 191 192 // Complete report. 193 this.report.done(); 194 195 // Check output for priority. 196 try(BufferedReader reader = this.createBufferedReader()) { 197 Assert.assertEquals(UNEXPECTED_FIRST_LINE, EXPECTED_FIRST_LINE, reader.readLine()); mentioned in commit 9c461abb
Please register or sign in to reply