You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@thrift.apache.org by "SvenRoederer (via GitHub)" <gi...@apache.org> on 2024/07/18 15:23:06 UTC
Re: [PR] Thrift-5272: fix code and add test [thrift]
SvenRoederer commented on PR #3002:
URL: https://github.com/apache/thrift/pull/3002#issuecomment-2236852518
When running on AppVeyor without the fix, the test correctly failing with error:
~~~
Start 17: UnitTests
17: Test command: C:\projects\build\MSVC2015\x86\bin\Debug\UnitTests.exe
17: Test timeout computed to be: 300
17: Thrift: Thu Jul 18 15:01:47 2024 getaddrinfo() -> 11001; No such host is known.
17:
17: Running 76 test cases...
17: An error message from getaddrinfo on the console is expected:
17: C:/projects/thrift/lib/cpp/test/Thrift5272.cpp(43): error: in "Thrift5272Test/printTo": check text == "Meta(byte_type=0, i8_type=0, i16_type=0, i32_type=0, i64_type=0)" has failed [Meta(byte_type=
17: , i8_type=
17: , i16_type=0, i32_type=0, i64_type=0) != Meta(byte_type=0, i8_type=0, i16_type=0, i32_type=0, i64_type=0)]
17: C:/projects/thrift/lib/cpp/test/Thrift5272.cpp(54): error: in "Thrift5272Test/printTo": check text == "Meta(byte_type=50, i8_type=50, i16_type=50, i32_type=50, i64_type=50)" has failed [Meta(byte_type=2, i8_type=2, i16_type=50, i32_type=50, i64_type=50) != Meta(byte_type=50, i8_type=50, i16_type=50, i32_type=50, i64_type=50)]
17: C:/projects/thrift/lib/cpp/test/Thrift5272.cpp(65): error: in "Thrift5272Test/printTo": check text == "Meta(byte_type=127, i8_type=127, i16_type=127, i32_type=127, i64_type=127)" has failed [Meta(byte_type=, i8_type=, i16_type=127, i32_type=127, i64_type=127) != Meta(byte_type=127, i8_type=127, i16_type=127, i32_type=127, i64_type=127)]
17:
17: *** 3 failures are detected in the test module "thrift"
17: Detected memory leaks!
17: Dumping objects ->
17: {9859} normal block at 0x0052B048, 73 bytes long.
17: Data: < > 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
17: Object dump complete.
17/52 Test #17: UnitTests ........................***Failed 3.44 sec
~~~
You can also see the linebreaks in the log as of the null-byte in 1st test-case.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@thrift.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org