diff --git a/spanner/oc_test.go b/spanner/oc_test.go index 711458b85cc7..4e872ab5f8ad 100644 --- a/spanner/oc_test.go +++ b/spanner/oc_test.go @@ -34,6 +34,7 @@ import ( // Check that stats are being exported. func TestOCStats(t *testing.T) { + DisableGfeLatencyAndHeaderMissingCountViews() te := testutil.NewTestExporter() defer te.Unregister() @@ -95,6 +96,7 @@ func TestOCStats_SessionPool(t *testing.T) { } func testSimpleMetric(t *testing.T, v *view.View, measure, value string) { + DisableGfeLatencyAndHeaderMissingCountViews() te := testutil.NewTestExporter(v) defer te.Unregister()