Skip to content

Commit

Permalink
Revert "mobile: Add no-remote-exec in the Swift tests (envoyproxy#35345
Browse files Browse the repository at this point in the history
…)"

This reverts commit 88374d7.

Signed-off-by: Fredy Wijaya <[email protected]>
  • Loading branch information
fredyw committed Jul 26, 2024
1 parent b508cb4 commit 10032a4
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 139 deletions.
10 changes: 3 additions & 7 deletions mobile/test/swift/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,10 @@ envoy_mobile_swift_test(
"RetryPolicyMapperTests.swift",
"RetryPolicyTests.swift",
],
exec_properties = {
"sandboxNetwork": "standard",
},
flaky = True, # TODO(jpsim): Fix timeouts when running these tests on CI
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
visibility = ["//visibility:public"],
deps = [
"//library/objective-c:envoy_engine_objc_lib",
Expand Down
170 changes: 51 additions & 119 deletions mobile/test/swift/integration/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,9 @@ envoy_mobile_swift_test(
srcs = [
"EndToEndNetworkingTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -30,13 +26,9 @@ envoy_mobile_swift_test(
srcs = [
"CancelStreamTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -50,13 +42,9 @@ envoy_mobile_swift_test(
srcs = [
"EngineApiTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -69,13 +57,9 @@ envoy_mobile_swift_test(
srcs = [
"FilterResetIdleTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -89,13 +73,9 @@ envoy_mobile_swift_test(
srcs = [
"GRPCReceiveErrorTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -109,13 +89,9 @@ envoy_mobile_swift_test(
srcs = [
"IdleTimeoutTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -129,13 +105,9 @@ envoy_mobile_swift_test(
srcs = [
"KeyValueStoreTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -149,13 +121,9 @@ envoy_mobile_swift_test(
srcs = [
"ReceiveDataTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -169,13 +137,9 @@ envoy_mobile_swift_test(
srcs = [
"ReceiveErrorTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -188,13 +152,9 @@ envoy_mobile_swift_test(
srcs = [
"ResetConnectivityStateTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -208,13 +168,9 @@ envoy_mobile_swift_test(
srcs = [
"SendDataTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -228,13 +184,9 @@ envoy_mobile_swift_test(
srcs = [
"SendHeadersTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -248,13 +200,9 @@ envoy_mobile_swift_test(
srcs = [
"SendTrailersTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -268,13 +216,9 @@ envoy_mobile_swift_test(
srcs = [
"SetEventTrackerTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -288,13 +232,9 @@ envoy_mobile_swift_test(
srcs = [
"SetEventTrackerTestNoTracker.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -308,13 +248,9 @@ envoy_mobile_swift_test(
srcs = [
"SetLoggerTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand All @@ -328,13 +264,9 @@ envoy_mobile_swift_test(
srcs = [
"CancelGRPCStreamTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
":test_extensions",
Expand Down
10 changes: 3 additions & 7 deletions mobile/test/swift/integration/proxying/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,9 @@ envoy_mobile_swift_test(
srcs = [
"HTTPRequestUsingProxyTest.swift",
],
# TODO(fredyw): Re-enable remote-exec.
# exec_properties = {
# "sandboxNetwork": "standard",
# },
tags = [
"no-remote-exec",
],
exec_properties = {
"sandboxNetwork": "standard",
},
visibility = ["//visibility:public"],
deps = [
"//library/objective-c:envoy_engine_objc_lib",
Expand Down
9 changes: 3 additions & 6 deletions mobile/test/swift/stats/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,10 @@ 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",
Expand Down

0 comments on commit 10032a4

Please sign in to comment.