mirror of
https://github.com/google/nomulus.git
synced 2025-08-02 07:52:11 +02:00
This CL looks good? Just LGTM and Approve it! This CL doesn't look good? File a bug using [] What else can you do? * Suggest a fix on the CL ([] * Revert this CL, by replying "REVERT: <provide reason>". * Revert this CL and not get a CL that cleans up this file in the future by replying "BLACKLIST: <provide reason>". This action is not reversible! This CL was automatically generated by ATTT ([] using CL Shepherd ([] Please contact [] for questions. //third_party/java_src/gtld/javatests/google/registry/model:registry/label/GenrulePremiumListTest: We're adjusting the test target timeout because it has a 1.248050 percent time out rate based on last week's (2019-04-27 - 2019-05-04) tap postsubmit running statistics. Its original timeout_sec is 60, and we're adjusting it to moderate, which is 300 seconds. Some detailed statistics for the target: Num of invocation: 641 Num of passed invocations: 633 Num of timeout invocations: 8 ****** Stats for passing runs ****** Min run time in secs: 14 Max run time in secs: 57 Mean run time in secs: 28.955766 Sd run time in secs: 9.104767 #codehealth ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=246791200
56 lines
1.6 KiB
Text
56 lines
1.6 KiB
Text
package(
|
|
default_testonly = 1,
|
|
default_visibility = ["//java/google/registry:registry_project"],
|
|
)
|
|
|
|
licenses(["notice"]) # Apache 2.0
|
|
|
|
load("//java/com/google/testing/builddefs:GenTestRules.bzl", "GenTestRules")
|
|
|
|
java_library(
|
|
name = "model",
|
|
# There be circular dependencies down thar, so just have this
|
|
# BUILD file glob them in.
|
|
srcs = glob([
|
|
"*.java",
|
|
"**/*.java",
|
|
]),
|
|
resources = [
|
|
"//java/google/registry/config/files/premium:all_lists",
|
|
"//java/google/registry/config/files/reserved:all_lists",
|
|
] + glob(["**/testdata/*"]),
|
|
deps = [
|
|
"//java/google/registry/config",
|
|
"//java/google/registry/dns/writer",
|
|
"//java/google/registry/flows",
|
|
"//java/google/registry/model",
|
|
"//java/google/registry/util",
|
|
"//java/google/registry/xml",
|
|
"//javatests/google/registry/testing",
|
|
"//javatests/google/registry/xml",
|
|
"//third_party/objectify:objectify-v4_1",
|
|
"@com_google_appengine_api_1_0_sdk",
|
|
"@com_google_appengine_testing",
|
|
"@com_google_flogger",
|
|
"@com_google_flogger_system_backend",
|
|
"@com_google_guava",
|
|
"@com_google_monitoring_client_contrib",
|
|
"@com_google_truth",
|
|
"@com_google_truth_extensions_truth_java8_extension",
|
|
"@joda_time",
|
|
"@junit",
|
|
"@org_joda_money",
|
|
"@org_mockito_core",
|
|
],
|
|
)
|
|
|
|
GenTestRules(
|
|
name = "GeneratedTestRules",
|
|
timeout = "moderate",
|
|
medium_tests = ["registry/label/PremiumListTest"],
|
|
test_files = glob([
|
|
"*Test.java",
|
|
"**/*Test.java",
|
|
]),
|
|
deps = [":model"],
|
|
)
|