Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
agent: increase the number of tries to online vcpus
Browse files Browse the repository at this point in the history
cpu hotplug tests fail randomly in nested environments because 1 second is
not enough for the kernel and qemu to allocate and connect the vcpus.

fixes #474

Signed-off-by: Julio Montes <[email protected]>
  • Loading branch information
Julio Montes committed Mar 12, 2019
1 parent 58d7623 commit 8d043d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var emptyResp = &gpb.Empty{}

const onlineCPUMemWaitTime = 100 * time.Millisecond

const onlineCPUMaxTries = 10
const onlineCPUMaxTries = 30

const cpusetMode = 0644

Expand Down

0 comments on commit 8d043d3

Please sign in to comment.