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

Make crowd test more stable #344

Merged
merged 8 commits into from
Nov 15, 2023
Merged

Make crowd test more stable #344

merged 8 commits into from
Nov 15, 2023

Conversation

bianchi2
Copy link
Collaborator

@bianchi2 bianchi2 commented Nov 14, 2023

Just a few small things that will make crowd tests more stable. During the tests, we need to create a new user directory in Btibucket. Since there's no REST API for that, we first need to get atl_token by making a get call and parsing html response. We run 3 instances of Bitbucket, and atl_token is a per tomcat thing.That's why we scale Btibucket to 1 first. Without a short wait, occasionally Bitbucket does not respond with atl_token. After the scaledown, let's give Kube and Bitbucket some time to get back to a normal state. Also, let's make an additional call if the initial one did not return atl_token (network glitch etc).

Tested 13 runs :) Not a single failure.

Also, increasing tests timeout as sometimes due to networking conditions and how fast AWS is on a given day, the tests are timing out.

Checklist

  • I have successful end to end tests run (with & without domain)
  • I have added unit tests (if applicable)
  • I have user documentation (if applicable)

Copy link
Collaborator

@nanux nanux left a comment

Choose a reason for hiding this comment

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

:nice:

@bianchi2 bianchi2 merged commit ba3b177 into main Nov 15, 2023
2 checks passed
@bianchi2 bianchi2 deleted the stabilize-crowd-tests branch November 15, 2023 02:57
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