Closed
Description
Describe the bug
any reason why the tests fail when compiling? This is a pretty basic install on debian 12 using the latest code with this command
cmake .. -DBUILD_TESTING=OFF -DBUILD_ONLY="s3;core;s3-crt;lexv2-runtime;transcribestreaming;bedrock-runtime;bedrock" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_FLAGS="-Wno-unused-parameter -Wno-error=nonnull -Wno-error=deprecated-declarations -Wno-error=uninitialized -Wno-error=maybe-uninitialized -Wno-error=array-bounds"
with the result being
p.o
[ 85%] Linking CXX executable s3-gen-tests
/usr/local/src/aws-sdk-cpp/generated/tests/s3-gen-tests/S3EndpointProviderTests.cpp:3115: Failure
Expected equality of these values:
outcome.GetResult().GetURL()
Which is: "https://mybucket--abcd-ab1--x-s3.s3express-abcd-ab1.cn-north-1.amazonaws.com"
expect.endpoint.url
Which is: "https://mybucket--abcd-ab1--x-s3.s3express-abcd-ab1.cn-north-1.amazonaws.com.cn"
Google Test trace:
/usr/local/src/aws-sdk-cpp/generated/tests/s3-gen-tests/S3EndpointProviderTests.cpp:3181:
--gtest_filter=EndpointTestsFromModel/S3EndpointProviderTests.EndpointProviderTest/275
/usr/local/src/aws-sdk-cpp/generated/tests/s3-gen-tests/S3EndpointProviderTests.cpp:3180:
TEST CASE # 275: Data Plane with short zone name china region
[ FAILED ] EndpointTestsFromModel/S3EndpointProviderTests.EndpointProviderTest/275, where GetParam() = 275 (1 ms)
/usr/local/src/aws-sdk-cpp/generated/tests/s3-gen-tests/S3EndpointProviderTests.cpp:3115: Failure
Expected equality of these values:
outcome.GetResult().GetURL()
Which is: "https://myaccesspoint--abcd-ab1--xa-s3.s3.us-east-1.amazonaws.com"
expect.endpoint.url
Which is: "https://myaccesspoint--abcd-ab1--xa-s3.s3express-abcd-ab1.us-east-1.amazonaws.com"
Google Test trace:
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
I expected build tests to pass
Current Behavior
build tests fail
Reproduction Steps
build the latest with the cmake command abovve
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
1.11.570
Compiler and Version used
gcc (Debian 12.2.0-14) 12.2.0
Operating System and version
Debian 12.2.0-14