Skip to content

Conversation

@dplewis
Copy link
Member

@dplewis dplewis commented Jan 13, 2021

New Pull Request Checklist

Issue Description

I noticed that when you write failing tests sometime it fails 5 times which makes it difficult to pin point where to debug.
Also I noticed an extra parse instance getting created from what seems to be an old test file. (Wasted hours on this 😭 )

Related issue: #6644

Approach

Set network retry to 1 (Changed Promise.all to saveAll in Auth.spec.js to reduce load)
Remove strange file.

TODOs before merging

  • Add test cases
  • Add entry to changelog
  • Add changes to documentation (guides, repository pages, in-code descriptions)
  • Add security check
  • Add new Parse Error codes to Parse JS SDK
  • ...

@codecov
Copy link

codecov bot commented Jan 13, 2021

Codecov Report

Merging #7121 (c6a0430) into master (e08618e) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7121      +/-   ##
==========================================
- Coverage   93.89%   93.88%   -0.01%     
==========================================
  Files         169      169              
  Lines       12530    12530              
==========================================
- Hits        11765    11764       -1     
- Misses        765      766       +1     
Impacted Files Coverage Δ
src/RestWrite.js 93.51% <0.00%> (-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 e08618e...c6a0430. Read the comment docs.

@dplewis dplewis requested review from davimacedo and mtrezza January 13, 2021 02:17
Copy link
Member

@mtrezza mtrezza left a comment

Choose a reason for hiding this comment

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

  • There is/was a rest_create_app endpoint? 😳
  • Changing retry to 1 may also help to identify flaky tests easier.

@dplewis dplewis merged commit c8cdcbe into master Jan 13, 2021
@dplewis dplewis deleted the improve-tests branch January 13, 2021 17:40
@dplewis dplewis mentioned this pull request Jan 13, 2021
Copy link

@erencihangir erencihangir left a comment

Choose a reason for hiding this comment

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

@dplewis
Copy link
Member Author

dplewis commented Jan 14, 2021

@erencihangir Did you want to comment?

rsouzas pushed a commit to back4app/parse-server that referenced this pull request Jan 29, 2021
dplewis added a commit that referenced this pull request Feb 21, 2021
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.0.0-beta.1

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label Nov 1, 2021
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.0.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:released Released as stable version state:released-beta Released as beta version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants