Skip to content

Fix testing failure by adding explicit dependency to commons-lang3. - #1129

Closed
yili-db wants to merge 1 commit into
unitycatalog:mainfrom
yili-db:fix_test
Closed

yili-db wants to merge 1 commit into
unitycatalog:mainfrom
yili-db:fix_test

Conversation

@yili-db

@yili-db yili-db commented Oct 23, 2025

Copy link
Copy Markdown
Collaborator

PR Checklist

  • A description of the changes is added to the description of this PR.
  • If there is a related issue, make sure it is linked to this PR.
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added or modified a feature, documentation in docs is updated

Fix testing failure by adding explicit dependency to commons-lang3.

@yili-db
yili-db requested a review from tdas as a code owner October 23, 2025 22:25
@yili-db

yili-db commented Oct 23, 2025

Copy link
Copy Markdown
Collaborator Author

The failures of running build/sbt -J-Xmx2G clean test are:
[error] Test io.unitycatalog.cli.table.CliExternalTableCreationTest.testCreateTableLocalDirectoryExistsWithoutDeltaLog failed: java.lang.AssertionError: [error] Expecting code not to raise a throwable but caught [error] "java.lang.NoClassDefFoundError: org/apache/commons/lang3/Validate [error] at de.vandermeer.asciithemes.TA_Grid.create(TA_Grid.java:358) [error] at de.vandermeer.asciithemes.u8.U8_Grids.borderLight(U8_Grids.java:51) [error] at de.vandermeer.asciitable.AT_Context.<init>(AT_Context.java:66) [error] at de.vandermeer.asciitable.AsciiTable.<init>(AsciiTable.java:72) [error] at de.vandermeer.asciitable.AsciiTable.<init>(AsciiTable.java:60) [error] at io.unitycatalog.cli.delta.DeltaKernelUtils.readDeltaTable(DeltaKernelUtils.java:106) [error] at io.unitycatalog.cli.table.CliExternalTableCreationTest.lambda$createTableAndAssertReadTableSucceeds$1(CliExternalTableCreationTest.java:108) ...
And:
[error] Test io.unitycatalog.server.service.iceberg.MetadataServiceTest failed: org.springframework.beans.factory.UnsatisfiedDependencyExceptio n: Error creating bean with name 'fileStoreController' defined in class path resource [com/adobe/testing/s3mock/S3MockConfiguration.class]: Uns atisfied dependency expressed through method 'fileStoreController' parameter 0: Error creating bean with name 'objectService' defined in class path resource [com/adobe/testing/s3mock/service/ServiceConfiguration.class]: Post-processing of merged bean definition failed, took 1.452s ... [error] Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang3/tuple/Pair [error] at java.lang.Class.getDeclaredMethods0(Native Method) [error] at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) [error] at java.lang.Class.getDeclaredMethods(Class.java:2504) [error] at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:465) [error] ... 83 more [error] Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.tuple.Pair [error] at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) [error] at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) [error] at java.lang.ClassLoader.loadClass(ClassLoader.java:525) [error] ... 87 more

@yili-db yili-db mentioned this pull request Oct 31, 2025
2 of 4 tasks
@yili-db yili-db closed this Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant