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

Machine agent tests: increase timeout in TestJobManageModelRunsMinUnitsWorker #11591

Merged

Conversation

babbageclunk
Copy link
Contributor

Description of change

Now that the agent that gets run in the machine agent tests uses raft leases, the raft workers sometimes take too long to get started and ready, which made TestJobManageModelRunsMinUnitsWorker sometimes fail. Use the longer timeout (double the LongWait) that other tests in the suite already use.

QA steps

Running the test under stress doesn't fail after a lot of runs.

Documentation changes

None

Bug reference

None

This sometimes fails because the raft workers take too long to get
started, use the longer wait that was added to fix this problem.
Copy link
Member

@tlm tlm left a comment

Choose a reason for hiding this comment

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

LGTM

@babbageclunk
Copy link
Contributor Author

$$merge$$

@jujubot jujubot merged commit ad2e86c into juju:2.8-rc May 18, 2020
@babbageclunk babbageclunk deleted the 2.8-rc-fix-intermittent-machine-test branch May 18, 2020 03:03
@wallyworld wallyworld mentioned this pull request May 19, 2020
jujubot added a commit that referenced this pull request May 19, 2020
#11600

## Description of change

Merge 2.8-rc branch with these commits:

#11585 don't write errors when pubsub socket disconnects
#11583 k8s pod initialisaton races
#11582 increase max wait time for WaitAdance
#11573 finish legacy lease removal
#11591 increase timeout in machine agent tests
#11592 expose engine worker restart time as package variable
#11507 add k8s model agent pod
#11595 fix caas uniter restart on error
#11593 add revoke leases so dead units lose their lease immediately
#11594 fix deferreturn and bolt
#11599 update deployment name used for model op

## QA steps

See individual PRs.
@wallyworld wallyworld mentioned this pull request May 19, 2020
jujubot added a commit that referenced this pull request May 19, 2020
#11604

## Description

Merge 2.8 branch with these commits:

#11585 don't write errors when pubsub socket disconnects
#11583 k8s pod initialisaton races
#11582 increase max wait time for WaitAdance
#11573 finish legacy lease removal
#11591 increase timeout in machine agent tests
#11592 expose engine worker restart time as package variable
#11507 add k8s model agent pod
#11595 fix caas uniter restart on error
#11593 add revoke leases so dead units lose their lease immediately
#11594 fix deferreturn and bolt
#11599 update deployment name used for model op

## QA

Se individual PRs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants