Skip to content

Commit da4b8e1

Browse files
committed
Add #[serial] to test_fcntl_getlk to fix failures.
1 parent 8c06468 commit da4b8e1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/process/fcntl_getlk.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
use rustix::fd::{AsRawFd as _, BorrowedFd};
22
use rustix::fs::{fcntl_lock, FlockOperation};
33
use rustix::process::{fcntl_getlk, getppid, Flock, FlockType};
4+
use serial_test::serial;
45
use std::fs::File;
56
use std::os::unix::process::CommandExt as _;
67
use std::process::Command;
78

89
#[cfg(feature = "fs")]
910
#[test]
11+
#[serial]
1012
fn test_fcntl_getlk() {
1113
let f = tempfile::tempfile().unwrap();
1214

0 commit comments

Comments
 (0)