File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "erlang" : " 26.0.2" ,
3- "rabbitmq" : " 3.13.0-beta.3 "
3+ "rabbitmq" : " 3.13.0-beta.6 "
44}
Original file line number Diff line number Diff line change 4343 runs-on : ubuntu-latest
4444 services :
4545 rabbitmq :
46- image : rabbitmq:3.13.0-beta.2 -management
46+ image : rabbitmq:3.13.0-beta.6 -management
4747 env :
4848 RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS : -rabbitmq_stream advertised_host localhost
4949 ports :
Original file line number Diff line number Diff line change 5757make test
5858```
5959
60- To execute the tests you need a RabbitMQ ` v3.11.9 ` running with the following plugins enabled:
60+ To execute the tests you need a RabbitMQ ` 3.13.x ` running with the following plugins enabled:
6161- ` rabbitmq_management `
6262- ` rabbitmq_stream `
6363- ` rabbitmq_stream_management `
Original file line number Diff line number Diff line change @@ -161,8 +161,14 @@ public async void Amqp10ShouldReadTheAmqp019Properties()
161161 Assert . Equal ( "Alan Mathison Turing(1912 年 6 月 23 日" , message . ApplicationProperties [ "stream_key4" ] ) ;
162162 Assert . Equal ( true , message . ApplicationProperties [ "bool" ] ) ;
163163 Assert . Equal ( 10_000_000_000 , message . ApplicationProperties [ "decimal" ] ) ;
164- Assert . Equal (
165- $ "Alan Mathison Turing(1912 年 6 月 23 日 - 1954 年 6 月 7 日)是英国数学家、计算机科学家、逻辑学家、密码分析家、哲学家和理论生物学家。 [6] 图灵在理论计算机科学的发展中具有很大的影响力,用图灵机提供了算法和计算概念的形式化,可以被认为是通用计算机的模型。[7][8][9] 他被广泛认为是理论计算机科学和人工智能之父{ i } ",
164+ // Starting from rabbitmq:3.13.0-beta.5 there is new Message Containers feature
165+ // https://github.com/rabbitmq/rabbitmq-server/pull/5077
166+ // In this version the long string are not converted to string but to byte[]
167+ // reason why we changed this test starting from the ci with RabbitMQ version >= 3.13.0-beta.5
168+ var binaryValue = Encoding . UTF8 . GetBytes (
169+ $ "Alan Mathison Turing(1912 年 6 月 23 日 - 1954 年 6 月 7 日)是英国数学家、计算机科学家、逻辑学家、密码分析家、哲学家和理论生物学家。 [6] 图灵在理论计算机科学的发展中具有很大的影响力,用图灵机提供了算法和计算概念的形式化,可以被认为是通用计算机的模型。[7][8][9] 他被广泛认为是理论计算机科学和人工智能之父{ i } ") ;
170+
171+ Assert . Equal ( binaryValue ,
166172 message . ApplicationProperties [ "alan" ]
167173 ) ;
168174 Assert . Equal ( i , message . ApplicationProperties [ "int" ] ) ;
You can’t perform that action at this time.
0 commit comments