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

Feature/update locust and endpoints #3698

Closed
wants to merge 3 commits into from

Conversation

qqss88
Copy link
Contributor

@qqss88 qqss88 commented Apr 15, 2019

Summary (required)

update locust file and endpoints walk file

  • Resolves #[3618]

Include a summary of proposed changes.

  • fixing some locust file data issues
  • adding schedule_c/sub_id and schedule_d/sub_id to endpoints walking

How to test the changes locally

  1. test endpoints on prod
    python endpoints_walk.py
    note: the added endpoints walk will fail until the update is deployed.
  2. run locust file against stage:
  • check log file, make sure not 'more than 6 commitee' error from large_records_sched_a test
  • make sure at least some test succeed with load_schedule_a_problematic test

Impacted areas of the application

List general components of the application that this PR will affect:
api testing

Related PRs

List related PRs against other branches:

branch PR
fix/other_pr link
feature/other_pr link

locustfile.py Outdated
else:
return []

# @locust.task
Copy link
Member

Choose a reason for hiding this comment

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

Should these be commented out?

@codecov-io
Copy link

Codecov Report

Merging #3698 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #3698   +/-   ##
========================================
  Coverage    88.26%   88.26%           
========================================
  Files           76       76           
  Lines         6559     6559           
========================================
  Hits          5789     5789           
  Misses         770      770

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 4a84684...72b2f98. Read the comment docs.

@@ -384,6 +403,14 @@ def load_schedule_a_problematic(self):
"schedules/schedule_a/", name="load_schedule_a_problematic", params=params
)

# @locust.task
Copy link
Member

Choose a reason for hiding this comment

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

@qqss88 did you want this to be commented out? I don't think locust will run this test if it's not defined as a task.

@lbeaufort lbeaufort closed this Jun 13, 2019
@PaulClark2 PaulClark2 deleted the feature/update_locust_and_endpoints branch September 28, 2019 16:39
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