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

Separate TestMultipleVMs_Isolated from other tests #642

Merged
merged 1 commit into from
May 24, 2022

Conversation

kzys
Copy link
Contributor

@kzys kzys commented May 20, 2022

This test separates TestMultipleVMs_Isolated's 100 VMs run from other
tests by

  • Changing the number of VMs from 100 to 10 in the runtime tests
  • Keeping 100 VMs run as a separate job with its own concurrency group.

In addition to that, the test increases the number of VMs slowly,
instead of running 100 VMs from the beginning to figure out the breaking
point.

Signed-off-by: Kazuyoshi Kato [email protected]

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kzys kzys requested a review from a team as a code owner May 20, 2022 22:59
@kzys kzys marked this pull request as draft May 20, 2022 23:11
@kzys kzys force-pushed the reduce-vms branch 8 times, most recently from bfe3789 to 821444e Compare May 21, 2022 01:23
Comment on lines 287 to 279
// One hour should be enough to start a VM, regardless of the load of
// the underlying host.
const createVMTimeout = 10 * time.Minute
Copy link
Contributor

Choose a reason for hiding this comment

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

Comment says one hour but code is ten minutes.

@kzys kzys force-pushed the reduce-vms branch 10 times, most recently from 69c4649 to 5ef78ac Compare May 23, 2022 22:56
@kzys kzys changed the title Reduce the number of VMs on TestMultipleVMs_Isolated Run TestMultipleVMs_Isolated as a separate step May 23, 2022
@kzys kzys force-pushed the reduce-vms branch 7 times, most recently from 5c336b5 to b17aec0 Compare May 24, 2022 03:15
@kzys kzys force-pushed the reduce-vms branch 2 times, most recently from 2f8ac08 to fb8e00f Compare May 24, 2022 15:11
This test separates TestMultipleVMs_Isolated's 100 VMs run from other
tests by

- Changing the number of VMs from 100 to 10 in the runtime tests
- Keeping 100 VMs run as a separate job with its own concurrency group.

In addition to that, the test increases the number of VMs slowly,
instead of running 100 VMs from the beginning to figure out the breaking
point.

Signed-off-by: Kazuyoshi Kato <[email protected]>
@kzys kzys changed the title Run TestMultipleVMs_Isolated as a separate step Separate TestMultipleVMs_Isolated from other tests May 24, 2022
@kzys kzys marked this pull request as ready for review May 24, 2022 16:57
Copy link
Contributor

@austinvazquez austinvazquez left a comment

Choose a reason for hiding this comment

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

👍🏼

@kzys kzys merged commit f11d0f6 into firecracker-microvm:main May 24, 2022
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.

2 participants