Skip to content

Wrong requeue order test #10

@erfan-mehraban

Description

@erfan-mehraban

It seems checking requeue order has logical problem.

s.Equal(messages[2].Message.Body, (<-delivery).Message.Body)

If we consume after publishing queue is like (front of queue) 1 2 3 (back of queue), requeue in order of 3 2 1 should results in this way:

requeue item queue
3 3
2 2 3
1 1 2 3

But this function test it in wrong order. (3 2 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions