Skip to content

Commit fb67f32

Browse files
committed
---
yaml --- r: 83329 b: refs/heads/try c: bc34a34 h: refs/heads/master i: 83327: a07e49f v: v3
1 parent 0342566 commit fb67f32

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 0e4d1fc8cae42e15e00f71d9f439b01bb25a86ae
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
5-
refs/heads/try: cd2da7d5f37161ae1d8c3b1481c79275cf346999
5+
refs/heads/try: bc34a3416bfc56e8daf8015fa10424a8f64f5e91
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libstd/rt/sched.rs

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,25 +1212,22 @@ mod test {
12121212
}
12131213
}
12141214

1215-
#[test]
1215+
// FIXME: #9407: xfail-test
12161216
fn dont_starve_1() {
12171217
use rt::comm::oneshot;
12181218
use unstable::running_on_valgrind;
12191219

1220-
// FIXME: #9407: should work while serialized on valgrind
1221-
if !running_on_valgrind() {
1222-
do stress_factor().times {
1223-
do run_in_mt_newsched_task {
1224-
let (port, chan) = oneshot();
1225-
1226-
// This task should not be able to starve the sender;
1227-
// The sender should get stolen to another thread.
1228-
do spawntask {
1229-
while !port.peek() { }
1230-
}
1220+
do stress_factor().times {
1221+
do run_in_mt_newsched_task {
1222+
let (port, chan) = oneshot();
12311223

1232-
chan.send(());
1224+
// This task should not be able to starve the sender;
1225+
// The sender should get stolen to another thread.
1226+
do spawntask {
1227+
while !port.peek() { }
12331228
}
1229+
1230+
chan.send(());
12341231
}
12351232
}
12361233
}

0 commit comments

Comments
 (0)