From 035f54fdfbc25cf670021279cf68b62a93e4f947 Mon Sep 17 00:00:00 2001 From: Glyn Normington Date: Tue, 15 Apr 2025 06:24:45 +0100 Subject: [PATCH] DO NOT MERGE - Checking MPMC tests run by CI It's not clear to me whether the MPMC tests run during CI. So this commit breaks one of the tests... --- library/std/tests/sync/mpmc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/tests/sync/mpmc.rs b/library/std/tests/sync/mpmc.rs index 81b92297f76a3..1b13cccc1b883 100644 --- a/library/std/tests/sync/mpmc.rs +++ b/library/std/tests/sync/mpmc.rs @@ -13,7 +13,7 @@ pub fn stress_factor() -> usize { fn smoke() { let (tx, rx) = channel::(); tx.send(1).unwrap(); - assert_eq!(rx.recv().unwrap(), 1); + assert_eq!(rx.recv().unwrap(), 2); } #[test]