chore(spanner): fix flaky test in oc_stats.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()
