Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
Signed-off-by: Fredy Wijaya <[email protected]>
  • Loading branch information
fredyw committed Jul 22, 2024
1 parent ec2ab0c commit abba4e5
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 60 deletions.
9 changes: 6 additions & 3 deletions mobile/test/swift/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
150 changes: 99 additions & 51 deletions mobile/test/swift/integration/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down
9 changes: 6 additions & 3 deletions mobile/test/swift/integration/proxying/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
9 changes: 6 additions & 3 deletions mobile/test/swift/stats/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit abba4e5

Please sign in to comment.