]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/cipher: disable broken js/wasm test from nodejs v8 to v12 upgrade
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 2 May 2019 22:05:41 +0000 (22:05 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 2 May 2019 23:12:11 +0000 (23:12 +0000)
Updates #31812

Change-Id: Id9898f89205c116009e25033afb5b9026594e80f
Reviewed-on: https://go-review.googlesource.com/c/go/+/175099
Reviewed-by: Andrew Bonventre <andybons@golang.org>
src/crypto/cipher/xor_test.go

index 24877efc367e24478c357ea38632abf051a2926d..d49f1da77c05b1f92cc7a3ee96e856d1dd62feab 100644 (file)
@@ -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++ {