Skip to content

Commit a881b3e

Browse files
committed
Fix quicer test suites failing when COWBOY_QUICER not set
Add fallback all/0 and groups/0 functions in -else block so CT doesn't fail with 'all/0 is missing' when the suites are run without COWBOY_QUICER defined.
1 parent fdf3eb1 commit a881b3e

4 files changed

Lines changed: 24 additions & 0 deletions

File tree

test/draft_h3_webtransport_SUITE.erl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,4 +811,10 @@ do_receive_datagram(Conn) ->
811811
error({timeout, waiting_for_datagram})
812812
end.
813813

814+
-else.
815+
816+
all() -> [].
817+
818+
groups() -> [].
819+
814820
-endif.

test/rfc9114_SUITE.erl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2423,4 +2423,10 @@ do_wait_connection_closed(Conn) ->
24232423
{error, timeout}
24242424
end.
24252425

2426+
-else.
2427+
2428+
all() -> [].
2429+
2430+
groups() -> [].
2431+
24262432
-endif.

test/rfc9204_SUITE.erl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,4 +354,10 @@ do_wait_unidi_streams(Conn, Acc) ->
354354
%% a connection error of the appropriate type if on the
355355
%% encoder or decoder stream.
356356

357+
-else.
358+
359+
all() -> [].
360+
361+
groups() -> [].
362+
357363
-endif.

test/rfc9220_SUITE.erl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,4 +486,10 @@ accept_handshake_when_enabled(Config) ->
486486
%% @todo server other frame with FIN
487487
%% @todo client close connection
488488

489+
-else.
490+
491+
all() -> [].
492+
493+
groups() -> [].
494+
489495
-endif.

0 commit comments

Comments
 (0)