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

🪟 🚦 E2E: Fix duplicated database object warning #20926

Merged
merged 8 commits into from
Jan 12, 2023

Conversation

dizel852
Copy link
Contributor

@dizel852 dizel852 commented Dec 29, 2022

What

Resolves #21221

In logs we have the warning:
WARNING: Creating a duplicate database object for the same connection.
That happens because of 3rd party package we use for data manipulation in Postgres DB.
Screenshot at Dec 29 20-13-02

How

The PR replaces "cypress-postgres" with "pg-promise" (which actually was used under the hood in "cypress-postgres")
and updates the config to close the connection with DB after querying it.
image

@dizel852 dizel852 requested a review from edmundito December 29, 2022 19:27
@dizel852 dizel852 marked this pull request as ready for review December 29, 2022 19:27
@dizel852 dizel852 requested a review from a team as a code owner December 29, 2022 19:27
@octavia-squidington-iv octavia-squidington-iv added the area/frontend Related to the Airbyte webapp label Jan 10, 2023
@dizel852 dizel852 requested a review from edmundito January 10, 2023 19:00
@dizel852 dizel852 self-assigned this Jan 10, 2023
Co-authored-by: Mark Berger <mark.berger@globallogic.com>
@dizel852 dizel852 requested a review from matter-q January 12, 2023 14:18
@dizel852 dizel852 enabled auto-merge (squash) January 12, 2023 14:26
Copy link
Contributor

@matter-q matter-q left a comment

Choose a reason for hiding this comment

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

LGTM!

@dizel852 dizel852 removed the request for review from YatsukBogdan1 January 12, 2023 14:32
@dizel852 dizel852 merged commit c5e5659 into master Jan 12, 2023
@dizel852 dizel852 deleted the vlad/e2e-fix-duplicated-database-object-warning branch January 12, 2023 16:01
jbfbell pushed a commit that referenced this pull request Jan 13, 2023
* replace "cypress-postgres" with "pg-promise" npm package

* update cypress config

* update userDefineConnection type and naming

* Update airbyte-webapp-e2e-tests/cypress/plugins/index.ts

Co-authored-by: Mark Berger <mark.berger@globallogic.com>

Co-authored-by: Mark Berger <mark.berger@globallogic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Related to the Airbyte webapp team/platform-move
Projects
None yet
Development

Successfully merging this pull request may close these issues.

E2E: Fix "duplicated database object warning" message in logs during run tests
4 participants