Skip to content

Commit f0ea2a7

Browse files
committed
Update rabbitmq version CI
The test StreamShouldReadTheAmqp10PropertiesMessages now works correctly due of rabbitmq/rabbitmq-server#7001 so we removed the workaround for the issue Signed-off-by: Gabriele Santomaggio <[email protected]>
1 parent 2fdb57a commit f0ea2a7

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.ci/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"erlang": "25.2",
3-
"rabbitmq": "3.11.7"
3+
"rabbitmq": "3.11.9"
44
}

Tests/FromToAMQPTests.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -351,11 +351,7 @@ public async void StreamShouldReadTheAmqp10PropertiesMessages()
351351

352352
new Utils<Message>(_testOutputHelper).WaitUntilTaskCompletes(tcs);
353353
var result = tcs.Task.Result;
354-
// Why do we need result.Data.Contents.ToArray()[5..]?
355-
// Because of https://github.com/rabbitmq/rabbitmq-server/issues/6937
356-
// When it will be fixed we can remove the [5..]
357-
// For the moment we leave it as it is because it is not a problem for the client
358-
Assert.Equal("msg from amqp 1.0", Encoding.UTF8.GetString(result.Data.Contents.ToArray()[5..]));
354+
Assert.Equal("msg from amqp 1.0", result.AmqpValue);
359355
await consumer.Close();
360356
await system.DeleteStream(stream);
361357
await system.Close();

0 commit comments

Comments
 (0)