Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow re-using Oracle container in tests #18774

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

dominikzalewski
Copy link
Member

@dominikzalewski dominikzalewski commented Aug 22, 2023

Description

Ability to iterate faster on integration test development for Oracle by adding the support for TESTCONTAINERS_REUSE_ENABLE environment variable.

Additional context and related issues

This is based on previous commit
fbd1de0
by @kokosing, which adds the feature and enables it for SQL Server and MySQL. Based on further comments from @kokosing, enablement of this feature for specific database tests needs to be tested one-by-one as not all test containers seem to digest that change without problems. This justifies adding it iteratively for selected databases based on a need-to-use basis.

Release notes

(X) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

Copy link
Member

@hashhar hashhar left a comment

Choose a reason for hiding this comment

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

LGTM % editorials

Can you reformat commit message: Allow re-using Oracle container in tests

And add the context about the previous commit/changes in the commit message itself (the thing which you've mentioned in the PR description).

@dominikzalewski dominikzalewski changed the title Test container reuse for Oracle Allow re-using Oracle container in tests Aug 22, 2023
@dominikzalewski dominikzalewski force-pushed the test_container_reuse_oracle branch from b30eeb9 to 389306a Compare August 22, 2023 13:19
@dominikzalewski
Copy link
Member Author

Can you reformat commit message: Allow re-using Oracle container in tests

Yes. Done in PR itself and in the commit message header line as well.

And add the context about the previous commit/changes in the commit message itself (the thing which you've mentioned in the PR description).

Done like you asked.

@hashhar
Copy link
Member

hashhar commented Aug 22, 2023

Thanks, will merge once CI is finished.

Ability to iterate faster on integration test development for Oracle by adding the support for TESTCONTAINERS_REUSE_ENABLE environment variable.

This is based on previous commit fbd1de0 by @kokosing, which adds the feature and enables it for SQL Server and MySQL. Based on further comments from @kokosing, enablement of this feature for specific database tests needs to be tested one-by-one as not all test containers seem to digest that change without problems. This justifies adding it iteratively for selected databases based on a need-to-use basis.
@dominikzalewski dominikzalewski force-pushed the test_container_reuse_oracle branch from 389306a to 71afdf7 Compare August 22, 2023 13:32
@wendigo wendigo merged commit 0663f67 into trinodb:master Aug 22, 2023
@github-actions github-actions bot added this to the 425 milestone Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants