mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 02:11:38 +02:00
Adding support to override test size to avoid hitting test runner time limits.
Change-Id: I3844bfba7b64a856e8ed4c3db5d8363880bb9b9e
This commit is contained in:
parent
24e85d155c
commit
a79bf6e178
@ -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,
|
||||
)
|
||||
|
@ -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,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user