Skip to content

Run tests against Postgres 11#6260

Merged
dplewis merged 4 commits into
masterfrom
pg-11
Dec 4, 2019
Merged

Run tests against Postgres 11#6260
dplewis merged 4 commits into
masterfrom
pg-11

Conversation

@dplewis

@dplewis dplewis commented Dec 4, 2019

Copy link
Copy Markdown
Member

No description provided.

@codecov

codecov Bot commented Dec 4, 2019

Copy link
Copy Markdown

Codecov Report

Merging #6260 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6260      +/-   ##
==========================================
- Coverage   93.99%   93.96%   -0.04%     
==========================================
  Files         169      169              
  Lines       11544    11544              
==========================================
- Hits        10851    10847       -4     
- Misses        693      697       +4
Impacted Files Coverage Δ
src/Routers/PushRouter.js 93.1% <0%> (-3.45%) ⬇️
src/Controllers/SchemaController.js 96.42% <0%> (-0.22%) ⬇️
...dapters/Storage/Postgres/PostgresStorageAdapter.js 97.01% <0%> (-0.17%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6db040b...873e834. Read the comment docs.

@dplewis

dplewis commented Dec 4, 2019

Copy link
Copy Markdown
Member Author

@davimacedo I think this is good, should help with the flaky tests. I re-ran travis a few times

@dplewis

dplewis commented Dec 4, 2019

Copy link
Copy Markdown
Member Author

@vitaly-t Using Ubuntu Xenial for Travis build adds more disk space and PG 11 has better WAL (write ahead log) improvements.

@davimacedo davimacedo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@dplewis dplewis merged commit afe49cb into master Dec 4, 2019
@dplewis dplewis deleted the pg-11 branch December 4, 2019 18:24
@dplewis

dplewis commented Dec 4, 2019

Copy link
Copy Markdown
Member Author

For future reference, I think wal_level defaults to minimal in PG 11, I'm not sure but we could add the following to travis.yml in the future if we run into that disk space issue again.

- sudo sed -i 's/wal_level = replica/wal_level = minimal/' /etc/postgresql/11/main/postgresql.conf

@vitaly-t

vitaly-t commented Dec 4, 2019

Copy link
Copy Markdown
Contributor

@dplewis Interesting! I've been looking for some help with PG v11 here - vitaly-t/pg-promise#670

But no luck... If you can make time and help me update pg-promise to use PG v11, that would be awesome!!!

@dplewis

dplewis commented Dec 4, 2019

Copy link
Copy Markdown
Member Author

No problem!

UnderratedDev pushed a commit to UnderratedDev/parse-server that referenced this pull request Mar 21, 2020
* Run tests against Postgres 11

* postgis package

* use xenial travis image

* port 5432
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.

3 participants