Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91d1c929 authored by Ken Chen's avatar Ken Chen
Browse files

Set isolated to false for some DNS tests

For some reason, turning on isolated by default(aosp/2092883) causes
test failures. Turn the option off for these tests.

x86 resolv_gold_test: Passed: 10, Failed: 6, Ignored: 0, Assumption Failed: 0,
x86 resolv_integration_test: Passed: 101, Failed: 49, Ignored: 5, Assumption Failed: 0,
x86 resolv_stress_test: Passed: 0, Failed: 2, Ignored: 0, Assumption Failed: 0,
x86 resolv_unit_test: Passed: 97, Failed: 22, Ignored: 0, Assumption Failed: 0,

Bug: 178498003
Test: atest
Change-Id: Ica82a7389e3f5efdf26a22439046482a2ef8df53
parent 4c254cfe
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ cc_library_static {
cc_test {
    name: "resolv_gold_test",
    test_suites: ["general-tests", "mts-dnsresolver"],
    isolated: false,
    require_root: true,
    // b/151392634, this is a workaround because MTS
    // can not handle the test with testdata correctly.
@@ -124,6 +125,7 @@ cc_test {
cc_test {
    name: "resolv_stress_test",
    test_suites: ["general-tests", "mts-dnsresolver"],
    isolated: false,
    // This won't work with test_config
    // require_root: true,
    // TODO: Remove resolv_test_mts_coverage_defaults after mts coverage switched to 64-bit device.
@@ -153,6 +155,7 @@ cc_test {
cc_test {
    name: "resolv_integration_test",
    test_suites: ["general-tests", "mts-dnsresolver"],
    isolated: false,
    require_root: true,
    test_config_template: ":resolv_test_config_template",
    defaults: ["netd_defaults", "resolv_test_defaults"],
@@ -213,6 +216,7 @@ cc_test {
        "general-tests",
        "mts-dnsresolver",
    ],
    isolated: false,
    require_root: true,
    // TODO: Drop root privileges and make it be an real unit test.
    // TODO: Remove resolv_test_mts_coverage_defaults after mts coverage switched to 64-bit device.