aajisaka opened a new pull request, #10221:
URL: https://github.com/apache/iceberg/pull/10221
## Problem
TestGlueCatalogTable#testCreateTable failed by the following assertion error:
```
org.opentest4j.AssertionFailedError:
expected:
["s3://iceberg-integ-684001615763-ap-northeast-3/writeDataLoc",
"s3://iceberg-integ-684001615763-ap-northeast-3/writeMetaDataLoc",
"s3://iceberg-integ-684001615763-ap-northeast-3/writeFolderStorageLoc"]
but was:
["s3://iceberg-integ-684001615763-ap-northeast-3/writeFolderStorageLoc",
"s3://iceberg-integ-684001615763-ap-northeast-3/writeDataLoc",
"s3://iceberg-integ-684001615763-ap-northeast-3/writeMetaDataLoc"]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at
org.apache.iceberg.aws.glue.TestGlueCatalogTable.testCreateTable(TestGlueCatalogTable.java:97)
```
It's caused by the JUnit 5 upgrade #10086. After this change, the elements
are not sorted before comparing the list.
## Solution
Use containsExactlyInAnyOrderElementsOf method:
https://www.javadoc.io/doc/org.assertj/assertj-core/latest/org/assertj/core/api/AbstractIterableAssert.html#containsExactlyInAnyOrderElementsOf(java.lang.Iterable).
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]