Debian Codegraph @

compiler/natives/src/sync/sync_test.go

raw
1 // +build js
2
3 package sync_test
4
5 import (
6 "testing"
7 )
8
9 func TestPool(t *testing.T) {
10 t.Skip()
11 }
12
13 func TestPoolGC(t *testing.T) {
14 t.Skip()
15 }
16
17 func TestPoolRelease(t *testing.T) {
18 t.Skip()
19 }
20
21 func TestCondCopy(t *testing.T) {
22 t.Skip()
23 }
24
25 // TODO: Investigate, fix if possible.
26 // It fails with "can't acquire Mutex in 10 seconds"
27 // when using Go 1.8 sync.Mutex implementation.
28 // It panics with "sync: inconsistent mutex state"
29 // with Go 1.9 sync.Mutex implementation.
30 func TestMutexFairness(t *testing.T) {
31 t.Skip("TestMutexFairness fails")
32 }