Merge branch 'master' into staging
* master: (28 commits) go_1_9: skip flaky TestWaitGroupMisuse2 erlangR18: fix patch hashes with fetchpatch xml2: replace dead links nixos/pam: fix docs about path to u2f_keys file cinelerra: add a note about parallel building msmtp: install docs and examples (#31769) kernel: Fix out-of-tree modules on aarch64 nixos/tests/acme: update terms of service to fix test gixy: init at 0.1.8 pythonPackages.ConfigArgParse: 0.9.3 -> 0.12.0, refactor, move to python-modules mono: init at 4.8 wal-g: fix license so not to break evaluation wal-g: init at 0.1.2 maintainers: add backuitist nixos/prometheus: Correct documentation for external_labels spidermonkey: replace broken links vagrant: removed custom rake gem vagrant: 2.0.0 -> 2.0.1 nixos/prometheus: add external_labels option nixos/prometheus: add scrape_configs.honor_labels ...
This commit is contained in:
@@ -119,6 +119,7 @@ stdenv.mkDerivation rec {
|
||||
./creds-test.patch
|
||||
./remove-test-pie-1.9.patch
|
||||
./go-1.9-skip-flaky-19608.patch
|
||||
./go-1.9-skip-flaky-20072.patch
|
||||
];
|
||||
|
||||
postPatch = optionalString stdenv.isDarwin ''
|
||||
|
||||
20
pkgs/development/compilers/go/go-1.9-skip-flaky-20072.patch
Normal file
20
pkgs/development/compilers/go/go-1.9-skip-flaky-20072.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
diff --git a/src/sync/waitgroup_test.go b/src/sync/waitgroup_test.go
|
||||
index e3e3096..f80d1e2 100644
|
||||
--- a/src/sync/waitgroup_test.go
|
||||
+++ b/src/sync/waitgroup_test.go
|
||||
@@ -6,6 +6,7 @@ package sync_test
|
||||
|
||||
import (
|
||||
"internal/race"
|
||||
+ "internal/testenv"
|
||||
"runtime"
|
||||
. "sync"
|
||||
"sync/atomic"
|
||||
@@ -73,6 +74,7 @@ func TestWaitGroupMisuse2(t *testing.T) {
|
||||
if runtime.NumCPU() <= 4 {
|
||||
t.Skip("NumCPU<=4, skipping: this test requires parallelism")
|
||||
}
|
||||
+ testenv.SkipFlaky(t, 20072)
|
||||
defer func() {
|
||||
err := recover()
|
||||
if err != "sync: negative WaitGroup counter" &&
|
||||
Reference in New Issue
Block a user