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

Patch handleShutdown feature #4361

Merged
merged 7 commits into from
Nov 18, 2017
Merged

Conversation

trylovetom
Copy link
Contributor

Patch handle Shutdown spec of ParseServer.spce.js
Patch handle Shutdown spec of PostgresStorageAdapter.spec.js
Patch handle Shutdown spec of MongoStorageAdapter.spec.js

@codecov
Copy link

codecov bot commented Nov 18, 2017

Codecov Report

Merging #4361 into master will increase coverage by 0.08%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4361      +/-   ##
==========================================
+ Coverage   92.66%   92.74%   +0.08%     
==========================================
  Files         119      119              
  Lines        8435     8438       +3     
==========================================
+ Hits         7816     7826      +10     
+ Misses        619      612       -7
Impacted Files Coverage Δ
...dapters/Storage/Postgres/PostgresStorageAdapter.js 96.85% <66.66%> (ø) ⬆️
src/Adapters/Storage/Mongo/MongoStorageAdapter.js 95.13% <0%> (+1.76%) ⬆️
src/ParseServer.js 96.92% <0%> (+2.3%) ⬆️

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 de73f37...c1d9f77. Read the comment docs.

@dplewis
Copy link
Member

dplewis commented Nov 18, 2017

@vitaly-t looks good to go, can you look this over?

@vitaly-t
Copy link
Contributor

@dplewis seems fine to me ;)

@dplewis
Copy link
Member

dplewis commented Nov 18, 2017

@flovilmart can you add @vitaly-t to the team?

@flovilmart
Copy link
Contributor

flovilmart commented Nov 18, 2017

Only if @vitaly-t wants to ;) let me know!

@vitaly-t
Copy link
Contributor

vitaly-t commented Nov 18, 2017

I don't mind 😄

@flovilmart flovilmart merged commit 8bf6abf into parse-community:master Nov 18, 2017
@dplewis
Copy link
Member

dplewis commented Nov 18, 2017

@trylovetom thanks much needed

@vitaly-t
Copy link
Contributor

I am currently rewriting all the documentation related to shutting down the library/pool (no functional changes) ;) Will ping when done ;)

@vitaly-t
Copy link
Contributor

Library de-initialization has been fully updated (documentation).

@trylovetom trylovetom deleted the develop branch November 19, 2017 04:33
@trylovetom
Copy link
Contributor Author

@dplewis You are welcome.
I appreciate @vitaly-t ’s effort.

UnderratedDev pushed a commit to UnderratedDev/parse-server that referenced this pull request Mar 21, 2020
* Add handleShutdown Test of MongoStorageAdapter.

* Add `handleShutdown` function in PostgresStorageAdapter, with it's test.

* Replace the _pgp to _client

* Use  `adapter._client.$pool.ending` to ckeck is ending

* Add `handleShutdown()` in ParseServer.spec.js

* Trigger

* Set Server to Default
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.

None yet

4 participants