Skip to content

Conversation

@aihuaxu
Copy link
Contributor

@aihuaxu aihuaxu commented Aug 8, 2024

Description

Generate the conf.jar for testing from the build rather than packaging the jar. Also moved persistence.xml to eclipselink subproject.

Fixes #108

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test with existing PolarisEclipseLinkMetaStoreTest
  • Test B

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

Checklist:

Please delete options that are not relevant.

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • If adding new functionality, I have discussed my implementation with the community using the linked GitHub issue
  • I have signed and submitted the ICLA and if needed, the CCLA. See Contributing for details.

@aihuaxu aihuaxu requested a review from a team as a code owner August 8, 2024 05:57
Copy link
Member

@snazy snazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Thanks for tackling this so quickly!

}

sourceSets { test { resources { srcDir("src/test/data") } } }
tasks.register<Jar>("archiveConf") {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tip (not a change request) to avoid string-typo-errors in such cases:

val archiveConf by tasks.registering(Jar::class) {
...
}

tasks.named("test") { dependsOn(archiveConf) }

@snazy snazy merged commit ddd7e6d into apache:main Aug 8, 2024
@MonkeyCanCode MonkeyCanCode mentioned this pull request Aug 15, 2024
13 tasks
snazy added a commit to snazy/polaris that referenced this pull request Nov 20, 2025
* Fix deprecation warnings in GcpCredentialsStorageIntegrationTest (apache#2544)

* Fix deprecation warnings in GcpCredentialsStorageIntegrationTest

Refactor the code to use an explicit InputStream

Cf. FasterXML/jackson-core#803

* Add subtype-check to PolarisEntity subclass ctors (apache#2492)

this is a follow-up to ac31963

* Inject PolarisAdminService into PolarisServiceImpl (apache#2533)

`PolarisServiceImpl` already is a request-scoped bean.
if we apply the same to `PolarisAdminService` we can simply
inject it into `PolarisServiceImpl`.

* Reduce getOrCreateMetaStoreManager callers (apache#2532)

we can inject `PolarisMetaStoreManager` directly into request-scoped
beans or build it only once in tests that operate in a single realm.

* Update dependency mypy to >=1.18, <=1.18.1 (apache#2547)

* Update dependency pyiceberg to v0.10.0 (apache#2549)

Co-authored-by: Yong Zheng <yongzheng0809@gmail.com>

* Minor fix for README.md (apache#2558)

* Testing: Let runtime-service tests use Quarkus via `enforcedPlatform()` (apache#2545)

This change ensures that the tests in runtime-service use the same Quarkus platform dependency versions as Polaris server does.

* Update quay.io/keycloak/keycloak Docker tag to v26.3.4 (apache#2553)

* Update dependency software.amazon.awssdk:bom to v2.33.9 (apache#2561)

* NoSQL: remove unused type

* Last merged commit a2f29cb

* disable flaky test apache#2563

---------

Co-authored-by: Dmitri Bourlatchkov <dmitri.bourlatchkov@gmail.com>
Co-authored-by: Christopher Lambert <xn137@gmx.de>
Co-authored-by: Mend Renovate <bot@renovateapp.com>
Co-authored-by: Yong Zheng <yongzheng0809@gmail.com>
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.

Do not package test jar in the code base

2 participants