test serializedly

This commit is contained in:
sijie.sun
2025-03-08 14:36:31 +08:00
committed by Sijie.Sun
parent 8d654330ac
commit e78b0ef869
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -62,6 +62,6 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
sudo -E env "PATH=$PATH" cargo test --no-default-features --features=full --verbose sudo -E env "PATH=$PATH" cargo test --no-default-features --features=full --verbose -- --test-threads=1 --nocapture
sudo chown -R $USER:$USER ./target sudo chown -R $USER:$USER ./target
sudo chown -R $USER:$USER ~/.cargo sudo chown -R $USER:$USER ~/.cargo
+1 -2
View File
@@ -243,8 +243,7 @@ impl super::TunnelConnector for DNSTunnelConnector {
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use super::*; use super::*;
use crate::common::global_ctx::{tests::get_mock_global_ctx, GlobalCtx}; use crate::common::global_ctx::tests::get_mock_global_ctx;
use std::sync::Arc;
#[tokio::test] #[tokio::test]
async fn test_txt() { async fn test_txt() {