diff --git a/apps/openstacknetworking/app/BUILD b/apps/openstacknetworking/app/BUILD index 529c9c098d..8ca9b1b78e 100644 --- a/apps/openstacknetworking/app/BUILD +++ b/apps/openstacknetworking/app/BUILD @@ -38,6 +38,7 @@ osgi_jar_with_tests( bundle_classpath = get_openstack4j_deps_path() + get_jackson_deps_path(), import_packages = INCLUDE_PACKAGES + "," + EXCLUDE_PACKAGES + "," + ALL_PACKAGES, test_deps = TEST_DEPS, + medium_tests = ["src/test/java/org/onosproject/openstacknetworking/util/OpenstackNetworkingUtilTest"], web_context = "/onos/openstacknetworking", deps = COMPILE_DEPS, ) diff --git a/tools/build/bazel/osgi_java_library.bzl b/tools/build/bazel/osgi_java_library.bzl index 0352157603..7df0ec8353 100644 --- a/tools/build/bazel/osgi_java_library.bzl +++ b/tools/build/bazel/osgi_java_library.bzl @@ -375,6 +375,10 @@ def osgi_jar_with_tests( include_resources = {}, test_srcs = None, exclude_tests = None, + medium_tests = [], + large_tests = [], + enormous_tests = [], + flaky_tests = [], test_resources = None, visibility = ["//visibility:public"], version = ONOS_VERSION, @@ -494,6 +498,9 @@ def osgi_jar_with_tests( name = name + "-tests-gen", test_files = test_srcs, exclude_tests = exclude_tests, + medium_tests = medium_tests, + large_tests = large_tests, + enormous_tests = enormous_tests, deps = all_test_deps, )