Skip to content

Commit

Permalink
test config changes
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 588570342
  • Loading branch information
jingyu-shao authored and tfx-copybara committed Dec 7, 2023
1 parent db3acbf commit 790e26d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions ml_metadata/metadata_store/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ cc_library(
ml_metadata_cc_test(
name = "metadata_store_cc_test",
srcs = ["metadata_store_test.cc"],
env = {
"ASAN_OPTIONS": "detect_odr_violation=0",
},
deps = [
":metadata_store",
":metadata_store_test_suite",
Expand Down Expand Up @@ -549,6 +552,9 @@ cc_library(
ml_metadata_cc_test(
name = "metadata_store_factory_test",
srcs = ["metadata_store_factory_test.cc"],
env = {
"ASAN_OPTIONS": "detect_odr_violation=0",
},
deps = [
":metadata_access_object_factory",
":metadata_store",
Expand Down Expand Up @@ -898,6 +904,9 @@ cc_test(
# list.
cc_test(
name = "standalone_postgresql_metadata_access_object_test",
env = {
"ASAN_OPTIONS": "detect_odr_violation=0",
},
tags = [
"local",
"manual",
Expand Down
4 changes: 3 additions & 1 deletion ml_metadata/ml_metadata.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@
This module contains build rules for ml_metadata in OSS.
"""

load("@com_google_protobuf//:protobuf.bzl", "cc_proto_library", "py_proto_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@com_google_protobuf//:protobuf.bzl", "cc_proto_library", "py_proto_library")

def ml_metadata_cc_test(
name,
srcs = [],
deps = [],
env = {},
tags = [],
args = [],
size = None,
Expand All @@ -32,6 +33,7 @@ def ml_metadata_cc_test(
name = name,
srcs = srcs,
deps = deps,
env = env,
tags = tags,
args = args,
size = size,
Expand Down

0 comments on commit 790e26d

Please sign in to comment.