We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CryptoStreamUtilsSuite
sameElements
1 parent 09a255a commit 1f81475Copy full SHA for 1f81475
core/src/test/scala/org/apache/spark/security/CryptoStreamUtilsSuite.scala
@@ -115,7 +115,7 @@ class CryptoStreamUtilsSuite extends SparkFunSuite {
115
bytes.toByteArray()
116
}.collect()(0)
117
118
- assert(content != encrypted)
+ assert(!content.getBytes(UTF_8).sameElements(encrypted))
119
120
val in = CryptoStreamUtils.createCryptoInputStream(new ByteArrayInputStream(encrypted),
121
sc.conf, SparkEnv.get.securityManager.getIOEncryptionKey().get)
0 commit comments