Description
The test readNotFoundColumnTest is flaky. It asserts an exact exception message string, which can vary across environments or library versions depending on how Cloud Spanner formats error messages or column references. While the exception type remains consistent, differences in message text (column naming or formatting) can cause intermittent failures even though the behavior being tested is correct.
How to Reproduce
Run the test with the NonDex plugin to randomize iteration order:
mvn -pl spring-cloud-gcp-data-spanner edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityReaderTests#readNotFoundColumnTest
Additional
I have a fix ready for this test. I'll add it to discussion later.
Description
The test
readNotFoundColumnTestis flaky. It asserts an exact exception message string, which can vary across environments or library versions depending on how Cloud Spanner formats error messages or column references. While the exception type remains consistent, differences in message text (column naming or formatting) can cause intermittent failures even though the behavior being tested is correct.How to Reproduce
Run the test with the NonDex plugin to randomize iteration order:
Additional
I have a fix ready for this test. I'll add it to discussion later.