@@ -542,6 +542,7 @@ fn mul_div_po2_u64(value: u64, numer: u64, denom: u32) -> u64 {
542542#[ cfg( test) ]
543543mod tests {
544544 use super :: Clock ;
545+ use serial_test:: serial;
545546
546547 #[ cfg( not( target_arch = "wasm32" ) ) ]
547548 use super :: { Counter , Monotonic } ;
@@ -557,6 +558,7 @@ mod tests {
557558 all( target_arch = "wasm32" , target_os = "unknown" ) ,
558559 wasm_bindgen_test:: wasm_bindgen_test
559560 ) ]
561+ #[ serial]
560562 fn test_mock ( ) {
561563 let ( clock, mock) = Clock :: mock ( ) ;
562564 assert_eq ! ( clock. now( ) . 0 , 0 ) ;
@@ -565,6 +567,7 @@ mod tests {
565567 }
566568
567569 #[ test]
570+ #[ serial]
568571 #[ cfg_attr(
569572 all( target_arch = "wasm32" , target_os = "unknown" ) ,
570573 wasm_bindgen_test:: wasm_bindgen_test
@@ -575,6 +578,7 @@ mod tests {
575578 }
576579
577580 #[ test]
581+ #[ serial]
578582 #[ cfg_attr(
579583 all( target_arch = "wasm32" , target_os = "unknown" ) ,
580584 wasm_bindgen_test:: wasm_bindgen_test
@@ -585,6 +589,7 @@ mod tests {
585589 }
586590
587591 #[ test]
592+ #[ serial]
588593 #[ cfg_attr(
589594 all( target_arch = "wasm32" , target_os = "unknown" ) ,
590595 wasm_bindgen_test:: wasm_bindgen_test
@@ -598,6 +603,7 @@ mod tests {
598603
599604 #[ cfg( not( target_arch = "wasm32" ) ) ]
600605 #[ test]
606+ #[ serial]
601607 #[ cfg_attr( not( feature = "flaky_tests" ) , ignore) ]
602608 fn test_reference_source_calibration ( ) {
603609 let mut clock = Clock :: new ( ) ;
@@ -681,6 +687,7 @@ mod tests {
681687
682688 #[ cfg( not( target_arch = "wasm32" ) ) ]
683689 #[ test]
690+ #[ serial]
684691 #[ cfg_attr( not( feature = "flaky_tests" ) , ignore) ]
685692 fn measure_source_reference_self_timing ( ) {
686693 let source = Counter :: default ( ) ;
0 commit comments