Skip to content

Commit 91efbbf

Browse files
committed
ensure dist tests are run serially and don't kill each others local daemon
1 parent e4e51de commit 91efbbf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/dist.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ pub fn dist_test_sccache_client_cfg(
102102
sccache_cfg
103103
}
104104

105+
#[serial_test::serial]
105106
#[test]
106107
#[cfg_attr(not(feature = "dist-tests"), ignore)]
107108
fn test_dist_basic() {
@@ -135,6 +136,7 @@ fn test_dist_basic() {
135136
});
136137
}
137138

139+
#[serial_test::serial]
138140
#[test]
139141
#[cfg_attr(not(feature = "dist-tests"), ignore)]
140142
fn test_dist_restartedserver() {
@@ -171,6 +173,7 @@ fn test_dist_restartedserver() {
171173
});
172174
}
173175

176+
#[serial_test::serial]
174177
#[test]
175178
#[cfg_attr(not(feature = "dist-tests"), ignore)]
176179
fn test_dist_nobuilder() {
@@ -236,6 +239,7 @@ impl ServerIncoming for FailingServer {
236239
}
237240
}
238241

242+
#[serial_test::serial]
239243
#[test]
240244
#[cfg_attr(not(feature = "dist-tests"), ignore)]
241245
fn test_dist_failingserver() {

0 commit comments

Comments
 (0)