Skip to content

Commit

Permalink
switch to regular flaky in monitoring (#3333)
Browse files Browse the repository at this point in the history
* switch to regular flaky

* minor assertion adjustment

* address nit
  • Loading branch information
leahecole authored Apr 10, 2020
1 parent 52ea549 commit cd56e10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion monitoring/api/v3/api-client/custom_metric_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import time

from gcp_devrel.testing import eventually_consistent
from gcp_devrel.testing.flaky import flaky
from flaky import flaky
import googleapiclient.discovery
import pytest

Expand Down
4 changes: 2 additions & 2 deletions monitoring/api/v3/api-client/list_resources_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import os
import re

from gcp_devrel.testing.flaky import flaky
from flaky import flaky
import googleapiclient.discovery
import pytest

Expand Down Expand Up @@ -56,7 +56,7 @@ def test_list_metrics(client, capsys):
client, PROJECT_RESOURCE, METRIC)
stdout, _ = capsys.readouterr()
regex = re.compile(
u'Delta CPU', re.I)
u'Delta', re.I)
assert regex.search(stdout) is not None


Expand Down

0 comments on commit cd56e10

Please sign in to comment.