Skip to content

Commit 697f3b8

Browse files
committed
Test phold with the round-robin qdisc
1 parent cd2b2e9 commit 697f3b8

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

src/test/phold/CMakeLists.txt

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,22 @@ add_shadow_tests(
3535
LOGLEVEL info
3636
ARGS --pin-cpus --workers 2
3737
PROPERTIES RUN_SERIAL TRUE
38-
CONFIGURATIONS ilibc)
38+
CONFIGURATIONS ilibc)
39+
40+
# Run tests with the round-robin queueing discipline (the current default is fifo).
41+
# Ideally we'd want to test the different queueing displinces on a test that has a lot of
42+
# congestion and hosts sending data on mulitple sockets at once, but phold is currently the closest
43+
# test that we have to that configuration.
44+
add_shadow_tests(
45+
BASENAME phold-rr-qdisc
46+
METHODS hybrid ptrace
47+
LOGLEVEL info
48+
ARGS --pin-cpus --interface-qdisc=RR
49+
PROPERTIES RUN_SERIAL TRUE)
50+
add_shadow_tests(
51+
BASENAME phold-rr-qdisc
52+
METHODS preload
53+
LOGLEVEL info
54+
ARGS --pin-cpus --interface-qdisc=RR
55+
PROPERTIES RUN_SERIAL TRUE
56+
CONFIGURATIONS ilibc)

src/test/phold/phold-rr-qdisc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
phold.yaml

0 commit comments

Comments
 (0)