Skip to content

Commit ae4bba1

Browse files
committed
ci: add serial_test to integration tests
1 parent 17e60ab commit ae4bba1

File tree

3 files changed

+74
-0
lines changed

3 files changed

+74
-0
lines changed

Cargo.lock

Lines changed: 70 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tuic-tests/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ fast-socks5 = { version = "1.0.0-rc.0" }
3030
rustls = { version = "0.23", default-features = false }
3131
tracing-test = { version = "0.2" }
3232
tracing = "0.1"
33+
serial_test = "3"
3334
aws-lc-rs = { version = "1", default-features = false, optional = true, features = ["prebuilt-nasm"] }

tuic-tests/tests/integration_tests.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
use std::{io::Cursor, time::Duration};
55

6+
use serial_test::serial;
67
use tokio::time::timeout;
78
use tuic_core::{Address, Authenticate, Connect, Dissociate, Header, Heartbeat, Packet};
89
use uuid::Uuid;
@@ -509,6 +510,7 @@ fn test_header_serialization_lengths() {
509510
// IMPORTANT: The server ACL must be configured to allow localhost connections
510511
// for the test to work, since all echo servers run on 127.0.0.1
511512
#[tokio::test]
513+
#[serial]
512514
#[tracing_test::traced_test]
513515
async fn test_server_client_integration() {
514516
use std::{collections::HashMap, net::SocketAddr, path::PathBuf};
@@ -828,6 +830,7 @@ async fn test_server_client_integration() {
828830
// This addresses the error that occurs when using IPv6 addresses like
829831
// "[::1]:443"
830832
#[tokio::test]
833+
#[serial]
831834
#[tracing_test::traced_test]
832835
async fn test_ipv6_server_client_integration() {
833836
use std::{collections::HashMap, net::SocketAddr, path::PathBuf};

0 commit comments

Comments
 (0)