Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Issue 2109393002: Make test_net_info a bit more robust. (Closed)

Created:
4 years, 5 months ago by dsansome
Modified:
4 years, 5 months ago
Reviewers:
Sergey Berezin
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

Make test_net_info a bit more robust. Also add a get_all() method to metrics to return all field name/values and metric values. BUG=624369 Committed: https://chromium.googlesource.com/infra/infra/+/4ebc706fd4f94daa887aca89c5ffda4485f0f62d

Patch Set 1 #

Total comments: 6

Patch Set 2 : CL comments #

Patch Set 3 : Add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -8 lines) Patch
M infra/services/sysmon/system_metrics.py View 1 1 chunk +1 line, -1 line 0 comments Download
M infra/services/sysmon/test/system_metrics_test.py View 1 1 chunk +14 lines, -6 lines 0 comments Download
M infra_libs/ts_mon/common/metric_store.py View 3 chunks +7 lines, -1 line 0 comments Download
M infra_libs/ts_mon/common/metrics.py View 1 chunk +3 lines, -0 lines 0 comments Download
M infra_libs/ts_mon/common/test/metric_store_test.py View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M infra_libs/ts_mon/common/test/metrics_test.py View 1 2 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
dsansome
4 years, 5 months ago (2016-06-30 05:55:06 UTC) #2
Sergey Berezin
LGTM + comments. Thanks! https://codereview.chromium.org/2109393002/diff/1/infra/services/sysmon/test/system_metrics_test.py File infra/services/sysmon/test/system_metrics_test.py (right): https://codereview.chromium.org/2109393002/diff/1/infra/services/sysmon/test/system_metrics_test.py#newcode114 infra/services/sysmon/test/system_metrics_test.py:114: def test_net_info(self): # pragma: no ...
4 years, 5 months ago (2016-06-30 19:14:04 UTC) #3
dsansome
https://codereview.chromium.org/2109393002/diff/1/infra/services/sysmon/test/system_metrics_test.py File infra/services/sysmon/test/system_metrics_test.py (right): https://codereview.chromium.org/2109393002/diff/1/infra/services/sysmon/test/system_metrics_test.py#newcode114 infra/services/sysmon/test/system_metrics_test.py:114: def test_net_info(self): # pragma: no cover On 2016/06/30 19:14:04, ...
4 years, 5 months ago (2016-07-01 00:17:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2109393002/20001
4 years, 5 months ago (2016-07-01 00:18:13 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: Infra Linux Trusty 64 Tester on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Linux%20Trusty%2064%20Tester/builds/2864)
4 years, 5 months ago (2016-07-01 00:21:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2109393002/40001
4 years, 5 months ago (2016-07-01 03:16:32 UTC) #12
commit-bot: I haz the power
4 years, 5 months ago (2016-07-01 03:30:51 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/infra/infra/+/4ebc706fd4f94daa887aca89c5ffd...

Powered by Google App Engine
This is Rietveld 408576698