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

test: add pgpool test environment #4747

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

matthewelwell
Copy link
Contributor

@matthewelwell matthewelwell commented Oct 17, 2024

Changes

The purpose of this PR is to create a test environment which uses pgpool as the database, with replication across 2 postgres nodes.

Note that this will allow us to test the application successfully against pgpool, but it seems that there is no easy way to introduce any throttling on the network to simulate replication delays between the 2 database nodes.

How did you test this code?

Added push trigger to newly added workflow (see successful run here)

Copy link

vercel bot commented Oct 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Nov 4, 2024 10:36am
flagsmith-frontend-preview ⬜️ Ignored (Inspect) Visit Preview Nov 4, 2024 10:36am
flagsmith-frontend-staging ⬜️ Ignored (Inspect) Visit Preview Nov 4, 2024 10:36am

@matthewelwell matthewelwell changed the title Ci/pgpool test environment test: add pgpool test environment Oct 17, 2024
@github-actions github-actions bot added the front-end Issue related to the React Front End Dashboard label Oct 17, 2024
Copy link
Contributor

github-actions bot commented Oct 17, 2024

Uffizzi Ephemeral Environment deployment-57361

☁️ https://app.uffizzi.com/github.com/Flagsmith/flagsmith/pull/4747

📄 View Application Logs etc.

What is Uffizzi? Learn more!

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.33%. Comparing base (8b823a7) to head (8ef871d).
Report is 59 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4747      +/-   ##
==========================================
+ Coverage   97.21%   97.33%   +0.11%     
==========================================
  Files        1172     1179       +7     
  Lines       40508    41209     +701     
==========================================
+ Hits        39380    40109     +729     
+ Misses       1128     1100      -28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matthewelwell matthewelwell marked this pull request as ready for review November 1, 2024 16:14
@matthewelwell matthewelwell requested a review from a team as a code owner November 1, 2024 16:14
@matthewelwell matthewelwell requested review from kyle-ssg and removed request for a team and kyle-ssg November 1, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end Issue related to the React Front End Dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant