summaryrefslogtreecommitdiffhomepage
path: root/test/packetimpact/tests/BUILD
diff options
context:
space:
mode:
authorZeling Feng <zeling@google.com>2020-11-24 23:19:46 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-24 23:22:05 -0800
commitd04144fbb7b9fcb055e3aa3c2246f9b498923cc0 (patch)
treee2f8fe30911f749204ef89b6aaa14f6251531c16 /test/packetimpact/tests/BUILD
parent99f2d0ea2f2ec7a9758584d53db64008be33fac4 (diff)
[2/3] Support isolated containers for parallel packetimpact tests
Added a new flag num_duts to the test runner to create multiple DUTs for the testbench can connect to. PiperOrigin-RevId: 344195435
Diffstat (limited to 'test/packetimpact/tests/BUILD')
-rw-r--r--test/packetimpact/tests/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/packetimpact/tests/BUILD b/test/packetimpact/tests/BUILD
index 33bd070c1..ce21c079a 100644
--- a/test/packetimpact/tests/BUILD
+++ b/test/packetimpact/tests/BUILD
@@ -371,4 +371,5 @@ validate_all_tests()
[packetimpact_go_test(
name = t.name,
expect_netstack_failure = hasattr(t, "expect_netstack_failure"),
+ num_duts = t.num_duts if hasattr(t, "num_duts") else 1,
) for t in ALL_TESTS]