From 16bf0d5e0396fb35a9ca92bbf626f83f4f401253 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 2 May 2019 22:05:41 +0000 Subject: [PATCH] crypto/cipher: disable broken js/wasm test from nodejs v8 to v12 upgrade Updates #31812 Change-Id: Id9898f89205c116009e25033afb5b9026594e80f Reviewed-on: https://go-review.googlesource.com/c/go/+/175099 Reviewed-by: Andrew Bonventre --- src/crypto/cipher/xor_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/crypto/cipher/xor_test.go b/src/crypto/cipher/xor_test.go index 24877efc36..d49f1da77c 100644 --- a/src/crypto/cipher/xor_test.go +++ b/src/crypto/cipher/xor_test.go @@ -9,11 +9,16 @@ import ( "crypto/cipher" "crypto/rand" "fmt" + "internal/testenv" "io" + "runtime" "testing" ) func TestXOR(t *testing.T) { + if runtime.GOOS == "js" { + testenv.SkipFlaky(t, 31812) + } for j := 1; j <= 1024; j++ { for alignP := 0; alignP < 2; alignP++ { for alignQ := 0; alignQ < 2; alignQ++ { -- 2.48.1