8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59a52de commit a73c15cCopy full SHA for a73c15c
monitoring/api/v3/cloud-client/snippets_test.py
@@ -13,11 +13,16 @@
13
# limitations under the License.
14
15
import snippets
16
+from gcp.testing import eventually_consistent
17
18
19
def test_create_get_delete_metric_descriptor(capsys):
20
snippets.create_metric_descriptor()
- snippets.get_metric_descriptor('custom.googleapis.com/my_metric')
21
+
22
+ @eventually_consistent.call
23
+ def __():
24
+ snippets.get_metric_descriptor('custom.googleapis.com/my_metric')
25
26
out, _ = capsys.readouterr()
27
assert 'DOUBLE' in out
28
snippets.delete_metric_descriptor('custom.googleapis.com/my_metric')
0 commit comments