Skip to content

Commit 163f1a9

Browse files
authored
Skipping racy tests (#1375)
1 parent 847db44 commit 163f1a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/context_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ func TestContextChildParentCancelRace(t *testing.T) {
7474
}
7575

7676
func TestContextConcurrentCancelRace(t *testing.T) {
77+
t.Skip("This test is racy and not reliable. It is disabled until we can make it reliable.")
7778
/*
7879
A race condition existed due to concurrently ending goroutines on shutdown (i.e. closing their chan without waiting
7980
on them to finish shutdown), which executed... quite a lot of non-concurrency-safe code in a concurrent way. All
@@ -104,6 +105,7 @@ func TestContextConcurrentCancelRace(t *testing.T) {
104105
}
105106

106107
func TestContextAddChildCancelParentRace(t *testing.T) {
108+
t.Skip("This test is racy and not reliable. It is disabled until we can make it reliable.")
107109
/*
108110
It's apparently also possible to race on adding children while propagating the cancel to children.
109111
*/

0 commit comments

Comments
 (0)