From abba4e5e3a6ad40a61c25549d6cad18cee843acf Mon Sep 17 00:00:00 2001 From: Fredy Wijaya Date: Mon, 22 Jul 2024 18:20:34 +0000 Subject: [PATCH] Test Signed-off-by: Fredy Wijaya --- mobile/test/swift/BUILD | 9 +- mobile/test/swift/integration/BUILD | 150 ++++++++++++------- mobile/test/swift/integration/proxying/BUILD | 9 +- mobile/test/swift/stats/BUILD | 9 +- 4 files changed, 117 insertions(+), 60 deletions(-) diff --git a/mobile/test/swift/BUILD b/mobile/test/swift/BUILD index 7077c25b63685..fa76bacbe80c4 100644 --- a/mobile/test/swift/BUILD +++ b/mobile/test/swift/BUILD @@ -20,10 +20,13 @@ envoy_mobile_swift_test( "RetryPolicyMapperTests.swift", "RetryPolicyTests.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + # exec_properties = { + # "sandboxNetwork": "standard", + # }, flaky = True, # TODO(jpsim): Fix timeouts when running these tests on CI + tags = [ + "no-remote-exec", + ], visibility = ["//visibility:public"], deps = [ "//library/objective-c:envoy_engine_objc_lib", diff --git a/mobile/test/swift/integration/BUILD b/mobile/test/swift/integration/BUILD index fb0f71f20fd05..5029485ec9a89 100644 --- a/mobile/test/swift/integration/BUILD +++ b/mobile/test/swift/integration/BUILD @@ -10,9 +10,12 @@ envoy_mobile_swift_test( srcs = [ "EndToEndNetworkingTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -26,9 +29,12 @@ envoy_mobile_swift_test( srcs = [ "CancelStreamTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -42,9 +48,12 @@ envoy_mobile_swift_test( srcs = [ "EngineApiTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -57,9 +66,12 @@ envoy_mobile_swift_test( srcs = [ "FilterResetIdleTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -73,9 +85,12 @@ envoy_mobile_swift_test( srcs = [ "GRPCReceiveErrorTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -89,9 +104,12 @@ envoy_mobile_swift_test( srcs = [ "IdleTimeoutTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -105,9 +123,12 @@ envoy_mobile_swift_test( srcs = [ "KeyValueStoreTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -121,9 +142,12 @@ envoy_mobile_swift_test( srcs = [ "ReceiveDataTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -137,9 +161,12 @@ envoy_mobile_swift_test( srcs = [ "ReceiveErrorTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -152,9 +179,12 @@ envoy_mobile_swift_test( srcs = [ "ResetConnectivityStateTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -168,9 +198,12 @@ envoy_mobile_swift_test( srcs = [ "SendDataTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -184,9 +217,12 @@ envoy_mobile_swift_test( srcs = [ "SendHeadersTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -200,9 +236,12 @@ envoy_mobile_swift_test( srcs = [ "SendTrailersTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -216,9 +255,12 @@ envoy_mobile_swift_test( srcs = [ "SetEventTrackerTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -232,9 +274,12 @@ envoy_mobile_swift_test( srcs = [ "SetEventTrackerTestNoTracker.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -248,9 +293,9 @@ envoy_mobile_swift_test( srcs = [ "SetLoggerTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", @@ -264,9 +309,12 @@ envoy_mobile_swift_test( srcs = [ "CancelGRPCStreamTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ ":test_extensions", diff --git a/mobile/test/swift/integration/proxying/BUILD b/mobile/test/swift/integration/proxying/BUILD index b891bf3b39c7a..9957e2ccc39c6 100644 --- a/mobile/test/swift/integration/proxying/BUILD +++ b/mobile/test/swift/integration/proxying/BUILD @@ -10,9 +10,12 @@ envoy_mobile_swift_test( srcs = [ "HTTPRequestUsingProxyTest.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + tags = [ + "no-remote-exec", + ], + # exec_properties = { + # "sandboxNetwork": "standard", + # }, visibility = ["//visibility:public"], deps = [ "//library/objective-c:envoy_engine_objc_lib", diff --git a/mobile/test/swift/stats/BUILD b/mobile/test/swift/stats/BUILD index bbecf8d2e710b..aac6e2c18d399 100644 --- a/mobile/test/swift/stats/BUILD +++ b/mobile/test/swift/stats/BUILD @@ -12,10 +12,13 @@ envoy_mobile_swift_test( "ElementTests.swift", "TagsBuilderTests.swift", ], - exec_properties = { - "sandboxNetwork": "standard", - }, + # exec_properties = { + # "sandboxNetwork": "standard", + # }, flaky = True, # TODO(jpsim): Fix timeouts when running these tests on CI + tags = [ + "no-remote-exec", + ], visibility = ["//visibility:public"], deps = [ "//library/objective-c:envoy_engine_objc_lib",