Skip to content
Snippets Groups Projects

Adds priorities to BroadcastDeliveryReport and ImmediateMessageDelayReport

They both used a dummy priority up to now. This is now changed to the real one.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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());
  • Nils Weidmann mentioned in commit 9c461abb

    mentioned in commit 9c461abb

  • Please register or sign in to reply
    Loading