Skip to content

Commit 238343b

Browse files
committed
ensure dist tests are run serially and don't kill each others local daemon
1 parent 6ed6bee commit 238343b

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
@@ -58,6 +58,7 @@ pub fn dist_test_sccache_client_cfg(
5858
sccache_cfg
5959
}
6060

61+
#[serial_test::serial]
6162
#[test]
6263
#[cfg_attr(not(feature = "dist-tests"), ignore)]
6364
fn test_dist_basic() {
@@ -91,6 +92,7 @@ fn test_dist_basic() {
9192
});
9293
}
9394

95+
#[serial_test::serial]
9496
#[test]
9597
#[cfg_attr(not(feature = "dist-tests"), ignore)]
9698
fn test_dist_restartedserver() {
@@ -127,6 +129,7 @@ fn test_dist_restartedserver() {
127129
});
128130
}
129131

132+
#[serial_test::serial]
130133
#[test]
131134
#[cfg_attr(not(feature = "dist-tests"), ignore)]
132135
fn test_dist_nobuilder() {
@@ -192,6 +195,7 @@ impl ServerIncoming for FailingServer {
192195
}
193196
}
194197

198+
#[serial_test::serial]
195199
#[test]
196200
#[cfg_attr(not(feature = "dist-tests"), ignore)]
197201
fn test_dist_failingserver() {

0 commit comments

Comments
 (0)