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

ProfilesDbTest.testUpdateStudentProfile failing on live server #8958 #8966

Merged
merged 5 commits into from
Jul 29, 2018

Conversation

tshradheya
Copy link
Member

@tshradheya tshradheya commented Jul 17, 2018

Fixes #8958

Outline of Solution

  • Remove the setting of Development environment as it is was only used to make isDevServer work but isDevServer works only for appengine instance.
  • Replace TestProperties.TEST_URL with Config.APP_URL
  • ProfilesDbTest.testUpdateStudentProfile failing on live server #8958 (comment)
  • It works well on the Dev server as shown in travis.
    I have run a few tests(EmailGenerator, AdminHomePageUiTest, ProfilesDbTest) on live server which failed in 6.6.0(and were fixed in 6.7.0) and they now pass on live server.

@tshradheya tshradheya added the s.ToReview The PR is waiting for review(s) label Jul 17, 2018
@tshradheya tshradheya requested a review from xpdavid July 17, 2018 04:07
@xpdavid
Copy link
Contributor

xpdavid commented Jul 17, 2018

@tshradheya This time we need to run the complete set of tests to ensure there is no other problem.

@xpdavid xpdavid self-assigned this Jul 17, 2018
@tshradheya
Copy link
Member Author

@xpdavid Ran all tests on the live server and reverted changes that caused regression. These changes solve the issue and dont introduce any other problem

Copy link
Contributor

@xpdavid xpdavid left a comment

Choose a reason for hiding this comment

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

@wkurniawan07 Any inputs?

Background: Setting environemnt to production cause problems in other tests while Config.APP_URL needs the production environment to produce correct URL in pre-deployment statging test.

@xpdavid xpdavid added this to the V6.8.0 milestone Jul 29, 2018
@xpdavid
Copy link
Contributor

xpdavid commented Jul 29, 2018

Going to merge to prevent any failing in V6.8.0. @wkurniawan07 feel free to raise comments if any.

@xpdavid xpdavid added s.FinalReview The PR is ready for final review and removed s.ToReview The PR is waiting for review(s) labels Jul 29, 2018
@xpdavid xpdavid requested a review from damithc July 29, 2018 11:55
@damithc damithc added s.ToMerge The PR is approved by all reviewers including final reviewer; ready for merging and removed s.FinalReview The PR is ready for final review labels Jul 29, 2018
@xpdavid xpdavid merged commit 4ed2bed into TEAMMATES:master Jul 29, 2018
@xpdavid xpdavid added the c.Bug Bug/defect report label Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c.Bug Bug/defect report s.ToMerge The PR is approved by all reviewers including final reviewer; ready for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ProfilesDbTest.testUpdateStudentProfile failing on live server
3 participants