Skip to content

Commit

Permalink
Add retries to _GetCpuUtilizationSample in CBT YCSB benchmark
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 530957446
  • Loading branch information
p3rf Team authored and copybara-github committed May 10, 2023
1 parent 96df9d9 commit 4a98a65
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ def _Install(vm: virtual_machine.VirtualMachine, bigtable: _Bigtable) -> None:
vm.RemoteCopy(file_path, remote_path)


@vm_util.Retry()
def _GetCpuUtilizationSample(samples: List[sample.Sample],
instance_id: str) -> List[sample.Sample]:
"""Gets a list of cpu utilization samples - one per cluster per workload.
Expand Down

0 comments on commit 4a98a65

Please sign in to comment.